From 0de8bd79c2a547fc181a88c18f108c5871f8c86e Mon Sep 17 00:00:00 2001 From: Jeremy Bertozzi Date: Oct 07 2019 19:22:55 +0000 Subject: Initial commit (#1756908) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1571bd4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/upt-rubygems-0.2.tar.gz diff --git a/python-upt-rubygems.spec b/python-upt-rubygems.spec new file mode 100644 index 0000000..b6428c5 --- /dev/null +++ b/python-upt-rubygems.spec @@ -0,0 +1,54 @@ +%bcond_with tests # disable tests unless upt is available + +%global srcname upt-rubygems + +Name: python-upt-rubygems +Version: 0.2 +Release: 1%{?dist} +Summary: RubyGems front-end for upt + +License: BSD +URL: https://framagit.org/upt/upt-rubygems +Source0: %pypi_source +BuildArch: noarch + +%description +RubyGems front-end for upt. + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: RubyGems front-end for upt +%{?python_provide:%python_provide python3-%{srcname}} + +BuildRequires:python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-requests-mock +Requires: python%{python3_pkgversion}-requests +Requires: python%{python3_pkgversion}-semver +Requires: upt + +%description -n python%{python3_pkgversion}-%{srcname} +RubyGems front-end for upt. + +%prep +%setup -q -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%if %{with tests} +%check +PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest +%endif + +%files -n python%{python3_pkgversion}-%{srcname} +%{python3_sitelib}/upt_rubygems-*.egg-info/ +%doc README.md CHANGELOG +%license LICENSE +%{python3_sitelib}/upt_rubygems/ + +%changelog +* Sat Jun 29 2019 Jeremy Bertozzi - 0.2-1 +- Initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..aa52026 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (upt-rubygems-0.2.tar.gz) = 03019663da17f7c1aa409f86dcca14ebc472c226fb387b3396a6bdd7106725d9bd3d1bc764654b3656d982d72871c486856100f29be073732eb81138ac719902