summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 17:35:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 17:35:47 +0000
commit848bcb7ac6b15e40ecd08270ff7103fa2c21b5bb (patch)
tree1987db4ecb2dde765c68fe4f457daa4c3bcd6a06
parentf1d573c8029af4b53c4137c412064b9b552df0fb (diff)
automatic import of python-tox-current-env
-rw-r--r--.gitignore1
-rw-r--r--python-tox-current-env.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9012b41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tox-current-env-0.0.11.tar.gz
diff --git a/python-tox-current-env.spec b/python-tox-current-env.spec
new file mode 100644
index 0000000..197f10b
--- /dev/null
+++ b/python-tox-current-env.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tox-current-env
+Version: 0.0.11
+Release: 1
+Summary: Use current environment instead of virtualenv for tox testenvs
+License: MIT
+URL: https://github.com/fedora-python/tox-current-env
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8b/a4/82c5c771ed7defdae4d1ad814cc4f86377d2bf893aea015d9fb6994e6eaf/tox-current-env-0.0.11.tar.gz
+BuildArch: noarch
+
+Requires: python3-tox
+Requires: python3-importlib-metadata
+Requires: python3-pytest
+Requires: python3-pytest-xdist
+Requires: python3-packaging
+
+%description
+
+
+%package -n python3-tox-current-env
+Summary: Use current environment instead of virtualenv for tox testenvs
+Provides: python-tox-current-env
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tox-current-env
+
+
+%package help
+Summary: Development documents and examples for tox-current-env
+Provides: python3-tox-current-env-doc
+%description help
+
+
+%prep
+%autosetup -n tox-current-env-0.0.11
+
+%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-tox-current-env -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.11-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6ffce6c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9e77420b124024576b06b08ae8d94032 tox-current-env-0.0.11.tar.gz