[packages/python-ago] - BR: python-setuptools
qboosh
qboosh at pld-linux.org
Mon Oct 28 20:38:16 CET 2019
commit d7095d1b89cdd83d8e99bad8565ebf3175eb7ed0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 28 20:38:13 2019 +0100
- BR: python-setuptools
python-ago.spec | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/python-ago.spec b/python-ago.spec
index e61344b..423fd51 100644
--- a/python-ago.spec
+++ b/python-ago.spec
@@ -6,55 +6,68 @@
%define module ago
#
Summary: Makes customizable human readable timedeltas
+Summary(pl.UTF-8): Konfigurowalne, czytelne dla człowieka różnice czasu
Name: python-ago
Version: 0.0.6
Release: 11
-License: public domain
-Group: Development/Languages/Python
-Source0: https://pypi.python.org/packages/source/a/ago/ago-%{version}.tar.gz
+License: Public Domain
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/ago/
+Source0: https://files.pythonhosted.org/packages/source/a/ago/ago-%{version}.tar.gz
# Source0-md5: e2fdc21fb922b4fc21ec19c6eac6bd46
Patch0: ago-python3.patch
URL: https://bitbucket.org/russellballestrini/ago/overview
-BuildRequires: rpmbuild(macros) >= 1.710
%if %{with python2}
BuildRequires: python-devel
BuildRequires: python-modules
-Requires: python
+BuildRequires: python-setuptools
%endif
%if %{with python3}
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-modules
+BuildRequires: python3-setuptools
%endif
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python-modules
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Makes customizable human readable timedeltas.
-%package -n python3-%{module}
+%description -l pl.UTF-8
+Konfigurowalne, czytelne dla człowieka różnice czasu.
+
+%package -n python3-%{module}
Summary: Makes customizable human readable timedeltas
+Summary(pl.UTF-8): Konfigurowalne, czytelne dla człowieka różnice czasu
Group: Libraries/Python
-Requires: python3
+Requires: python3-modules
%description -n python3-%{module}
Makes customizable human readable timedeltas.
+%description -n python3-%{module} -l pl.UTF-8
+Konfigurowalne, czytelne dla człowieka różnice czasu.
+
%prep
-%setup -q -n ago-%{version}
+%setup -q -n ago-%{version}
%patch0 -p1
%build
%if %{with python2}
%py_build
%endif
+
%if %{with python3}
%py3_build
%endif
%install
rm -rf $RPM_BUILD_ROOT
+
%if %{with python2}
install -d $RPM_BUILD_ROOT%{_examplesdir}/python-%{module}-%{version}
%py_install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ago.git/commitdiff/d7095d1b89cdd83d8e99bad8565ebf3175eb7ed0
More information about the pld-cvs-commit
mailing list