[packages/python-osc] new package

jajcus jajcus at pld-linux.org
Tue Jan 15 13:14:26 CET 2019


commit 3a0e070239a7cfaaf52c4123e2a2450ccfbeceb2
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Jan 15 13:13:57 2019 +0100

    new package

 python-osc.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/python-osc.spec b/python-osc.spec
new file mode 100644
index 0000000..7662ca6
--- /dev/null
+++ b/python-osc.spec
@@ -0,0 +1,54 @@
+#
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module		pythonosc
+%define		egg_name	python_osc
+%define		pypi_name	python-osc
+Summary:	Open Sound Control server and client implementations in pure Python
+Name:		python-osc
+Version:	1.7.0
+Release:	1
+License:	public domain
+Group:		Libraries/Python
+Source0:	https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5:	d2d72048be1c98c226e55a62e284b976
+URL:		https://github.com/attwad/python-osc
+BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Open Sound Control server and client implementations in pure Python.
+
+%package -n python3-osc
+Summary:	Open Sound Control server and client implementations in pure Python
+Group:		Libraries/Python
+Requires:	python3-modules
+
+%description -n python3-osc
+Open Sound Control server and client implementations in pure Python.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%py3_build %{?with_tests:test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n python3-osc
+%defattr(644,root,root,755)
+%doc LICENSE.txt README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-osc.git/commitdiff/3a0e070239a7cfaaf52c4123e2a2450ccfbeceb2



More information about the pld-cvs-commit mailing list