summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 08:48:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 08:48:16 +0000
commit434d69ec6dc395f4ebe5f3ce5346a91b0eb6e889 (patch)
tree9599e433febae86d74ff20bd2f9674a8fbc1e505
parent06d5640185b760707383193b4539e5f4bd377209 (diff)
automatic import of python-pip-tools
-rw-r--r--.gitignore1
-rw-r--r--python-pip-tools.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..39a3735 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pip-tools-6.13.0.tar.gz
diff --git a/python-pip-tools.spec b/python-pip-tools.spec
new file mode 100644
index 0000000..dea39db
--- /dev/null
+++ b/python-pip-tools.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pip-tools
+Version: 6.13.0
+Release: 1
+Summary: pip-tools keeps your pinned dependencies fresh.
+License: BSD
+URL: https://pypi.org/project/pip-tools/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c1/3f/f121e3a05e46ba07055b3b81d3325f712c22bc0624872b83a73c9f6e2bc1/pip-tools-6.13.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-build
+Requires: python3-click
+Requires: python3-pip
+Requires: python3-setuptools
+Requires: python3-wheel
+Requires: python3-pytest-cov
+Requires: python3-pytest
+Requires: python3-pytest-rerunfailures
+Requires: python3-pytest-xdist
+Requires: python3-flit-core
+Requires: python3-poetry-core
+
+%description
+
+
+%package -n python3-pip-tools
+Summary: pip-tools keeps your pinned dependencies fresh.
+Provides: python-pip-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pip-tools
+
+
+%package help
+Summary: Development documents and examples for pip-tools
+Provides: python3-pip-tools-doc
+%description help
+
+
+%prep
+%autosetup -n pip-tools-6.13.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pip-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 6.13.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6f1dadd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+37d3237077477ca5183c2c79dea99f96 pip-tools-6.13.0.tar.gz