[packages/pg_activity: 1/3] Version 1.3.0-1. Enabled py3 build.

matkor matkor at pld-linux.org
Sun Nov 29 22:35:43 CET 2015


commit ab906c73ac2a8406f57b70291879f2b3a37bf306
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Sun Nov 29 22:22:29 2015 +0100

    Version 1.3.0-1. Enabled py3 build.

 pg_activity.spec | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/pg_activity.spec b/pg_activity.spec
index a8dac78..3c8892a 100644
--- a/pg_activity.spec
+++ b/pg_activity.spec
@@ -1,28 +1,27 @@
 # TODO:
-#  Fix FATAL: 'PSProcess' object has no attribute 'get_memory_percent'
 #  Move man dir to proper place ?
 
 # NOTE:
-#  Not sure if should be build as separte packages for py 3.x / 2.x  and binary package ?
-#  Are modules used by other soft? If not just switch to py 3.x when there is release available
+#  Not sure if should be build as separate packages for py 3.x / 2.x  with different binaries? Same conflicting binaries?
+#  Are modules used by other soft? If not, just switch to py 3.x ?
 
 # Conditional build:
 %bcond_with	doc		# don't build doc
 %bcond_without	tests	# do not perform "make test"
 %bcond_without	python2 # CPython 2.x module
-%bcond_with	python3 # CPython 3.x module
+%bcond_without	python3 # CPython 3.x module
 
 %define 	module	pgactivity
 Summary:	-
 Summary(pl.UTF-8):	-
 # Name must match the python module/package name (as in 'import' statement)
 Name:		pg_activity
-Version:	1.2.0
-Release:	0.1
+Version:	1.3.0
+Release:	1
 License:	distributable
 Group:		Libraries/Python
 Source0:	https://github.com/julmon/pg_activity/archive/v%{version}.tar.gz
-# Source0-md5:	1c75bdc026312b322e24fe6492ce6b5f
+# Source0-md5:	88096354973c38761f056d04e550f58b
 URL:		https://github.com/julmon/pg_activity
 BuildRequires:	rpm-pythonprov
 # remove BR: python-devel for 'noarch' packages.
@@ -47,6 +46,8 @@ BuildRequires:	python3-setuptools
 # Below Rs only work for main package (python2)
 #Requires:		python-libs
 Requires:	python-modules
+Requires:	python-psutil
+Requires:	python-psycopg2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -61,6 +62,8 @@ Summary:	-
 Summary(pl.UTF-8):	-
 Group:		Libraries/Python
 Requires:	python3-modules
+Requires:	python3-psutil
+Requires:	python3-psycopg2
 
 %description -n python3-%{module}
 
@@ -143,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md docs
 %{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pg_activity.git/commitdiff/3fdbf89971829e98cef5baba56af5c38762b3c79



More information about the pld-cvs-commit mailing list