diff options
author | Ken Dreyer <kdreyer@redhat.com> | 2019-02-25 16:20:39 -0700 |
---|---|---|
committer | Ken Dreyer <kdreyer@redhat.com> | 2019-02-25 16:20:39 -0700 |
commit | 25c6919ae18e903ad15f8dcaa728a0c117db50b9 (patch) | |
tree | 9db8fc5e662648eafdbaf3e9858681f820bd59db | |
download | python-jaraco-classes-25c6919ae18e903ad15f8dcaa728a0c117db50b9.tar.gz python-jaraco-classes-25c6919ae18e903ad15f8dcaa728a0c117db50b9.tar.xz python-jaraco-classes-25c6919ae18e903ad15f8dcaa728a0c117db50b9.zip |
initial package
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-jaraco-classes.spec | 44 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a686d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/jaraco.classes-2.0.tar.gz diff --git a/python-jaraco-classes.spec b/python-jaraco-classes.spec new file mode 100644 index 0000000..e52a3e0 --- /dev/null +++ b/python-jaraco-classes.spec @@ -0,0 +1,44 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name jaraco.classes + +Name: python-jaraco-classes +Version: 2.0 +Release: 1%{?dist} +Summary: Utility functions for Python class constructs +License: MIT +URL: https://github.com/jaraco/jaraco.classes +Source0: https://files.pythonhosted.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm >= 1.15.0 + +%global _description\ +Utility functions for Python class constructs. + +%description %_description + +%package -n python3-jaraco-classes +Summary: %{summary} +%{?python_provide:%python_provide python3-jaraco-classes} +%description -n python3-jaraco-classes %_description + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%py3_build + +%install +%py3_install + +%files -n python3-jaraco-classes +%license LICENSE +%doc README.rst +%{python3_sitelib}/* + +%changelog +* Mon Feb 25 2019 Ken Dreyer <kdreyer@redhat.com> - 2.0-1 +- Initial package. @@ -0,0 +1 @@ +SHA512 (jaraco.classes-2.0.tar.gz) = 83c9a570f951ef6c3708243dce6397cfbfe963db5920550ac807878a69860b34831af5f277f956fd0b327d85462676fd6386a22d6d97c7616e01ca81d7ace694 |