diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-accession.spec | 101 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 103 insertions, 0 deletions
@@ -0,0 +1 @@ +/accession-4.8.4.tar.gz diff --git a/python-accession.spec b/python-accession.spec new file mode 100644 index 0000000..fd2fa2e --- /dev/null +++ b/python-accession.spec @@ -0,0 +1,101 @@ +%global _empty_manifest_terminate_build 0 +Name: python-accession +Version: 4.8.4 +Release: 1 +Summary: Tool to submit genomics pipeline outputs to the ENCODE Portal +License: MIT +URL: https://github.com/ENCODE-DCC/accession +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/5f/66992f4c1298ce17e12c3b7fe7edc3c470c3c6d4aa9b8f52834884b041a4/accession-4.8.4.tar.gz +BuildArch: noarch + +Requires: python3-SQLAlchemy +Requires: python3-attrs +Requires: python3-protobuf +Requires: python3-boto3 +Requires: python3-caper +Requires: python3-encode-utils +Requires: python3-flatdict +Requires: python3-google-api-core +Requires: python3-google-auth +Requires: python3-google-cloud-storage +Requires: python3-google-cloud-tasks +Requires: python3-miniwdl +Requires: python3-qc-utils +Requires: python3-typing-extensions +Requires: python3-sphinx +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-mock +Requires: python3-docker +Requires: python3-requests +Requires: python3-pre-commit +Requires: python3-sqlalchemy-stubs +Requires: python3-boto3-stubs[s3] +Requires: python3-sphinx +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-mock +Requires: python3-docker +Requires: python3-requests + +%description + + +%package -n python3-accession +Summary: Tool to submit genomics pipeline outputs to the ENCODE Portal +Provides: python-accession +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-accession + + +%package help +Summary: Development documents and examples for accession +Provides: python3-accession-doc +%description help + + +%prep +%autosetup -n accession-4.8.4 + +%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-accession -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.8.4-1 +- Package Spec generated @@ -0,0 +1 @@ +63ffd145adb8cd1a45db8ce53c11bf82 accession-4.8.4.tar.gz |