diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 04:38:11 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 04:38:11 +0000 |
commit | 028834699c36c3deb8934d00cb54edbb89e7d4c5 (patch) | |
tree | d2c2a2cbf3ef70be574e3eb166412d2f0c115709 | |
parent | 0e0ed9e7b338f3b84d57f07260b8c51250ebb310 (diff) |
automatic import of python-metacity
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-metacity.spec | 120 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 122 insertions, 0 deletions
@@ -0,0 +1 @@ +/metacity-0.6.2.tar.gz diff --git a/python-metacity.spec b/python-metacity.spec new file mode 100644 index 0000000..9a3f7a5 --- /dev/null +++ b/python-metacity.spec @@ -0,0 +1,120 @@ +%global _empty_manifest_terminate_build 0 +Name: python-metacity +Version: 0.6.2 +Release: 1 +Summary: Python toolkit for Urban Data processing +License: MIT +URL: https://github.com/MetacitySuite/Metacity +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/a6/498df46362087b228a61cdb102509fe12e0f8985ce31ca53a0508cb548c8/metacity-0.6.2.tar.gz + +Requires: python3-orjson +Requires: python3-colored +Requires: python3-six +Requires: python3-protobuf + +%description +# Metacity + +[](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22) +[](https://coveralls.io/github/MetacitySuite/Metacity?branch=release) +[](https://pypi.org/project/metacity/) + +Toolkit for Urban Data Preprocessing + +### Documentation + +Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)! + + + + + +%package -n python3-metacity +Summary: Python toolkit for Urban Data processing +Provides: python-metacity +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-metacity +# Metacity + +[](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22) +[](https://coveralls.io/github/MetacitySuite/Metacity?branch=release) +[](https://pypi.org/project/metacity/) + +Toolkit for Urban Data Preprocessing + +### Documentation + +Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)! + + + + + +%package help +Summary: Development documents and examples for metacity +Provides: python3-metacity-doc +%description help +# Metacity + +[](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22) +[](https://coveralls.io/github/MetacitySuite/Metacity?branch=release) +[](https://pypi.org/project/metacity/) + +Toolkit for Urban Data Preprocessing + +### Documentation + +Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)! + + + + + +%prep +%autosetup -n metacity-0.6.2 + +%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-metacity -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1 +- Package Spec generated @@ -0,0 +1 @@ +09e023dbd265be687bddb1e619bfcc53 metacity-0.6.2.tar.gz |