summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:48:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:48:56 +0000
commitd2fc389b6a89d2882d8754c52fe76a2a35fca647 (patch)
treefa3fb92219693d7dcbd2fc943d7e73694fd11a5d
parent4269c878c30c0f1627fa87a12bf4f7c306b73134 (diff)
automatic import of python-mr3px
-rw-r--r--.gitignore1
-rw-r--r--python-mr3px.spec93
-rw-r--r--sources1
3 files changed, 95 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..94cea19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mr3px-0.5.1.tar.gz
diff --git a/python-mr3px.spec b/python-mr3px.spec
new file mode 100644
index 0000000..c0abcf2
--- /dev/null
+++ b/python-mr3px.spec
@@ -0,0 +1,93 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mr3px
+Version: 0.5.1
+Release: 1
+Summary: Line-based protocols for use with mrjob.
+License: Apache
+URL: http://github.com/msharp/mr3px
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/10/894865001cd5bac8a1c42d223ab5fb939732493ba6dbb51decbdace8c575/mr3px-0.5.1.tar.gz
+BuildArch: noarch
+
+
+%description
+*This package is forked from `mr3po <https://github.com/yelp/mr3po>`__*
+ "The 3PX-series protocol droid were third-degree protocol droids
+ produced by Cybot Galactica in 50 BBY and based on the design of the
+ company's 3PO-series protocol droid."
+ *`Wookiepedia <http://starwars.wikia.com/wiki/3PX-series_protocol_droid>`__*
+**mr3px** is a library of line-based `custom
+protocols <http://packages.python.org/mrjob/protocols.html#custom-protocols>`__
+for use with the `mrjob <http://packages.python.org/mrjob/>`__ library.
+
+%package -n python3-mr3px
+Summary: Line-based protocols for use with mrjob.
+Provides: python-mr3px
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mr3px
+*This package is forked from `mr3po <https://github.com/yelp/mr3po>`__*
+ "The 3PX-series protocol droid were third-degree protocol droids
+ produced by Cybot Galactica in 50 BBY and based on the design of the
+ company's 3PO-series protocol droid."
+ *`Wookiepedia <http://starwars.wikia.com/wiki/3PX-series_protocol_droid>`__*
+**mr3px** is a library of line-based `custom
+protocols <http://packages.python.org/mrjob/protocols.html#custom-protocols>`__
+for use with the `mrjob <http://packages.python.org/mrjob/>`__ library.
+
+%package help
+Summary: Development documents and examples for mr3px
+Provides: python3-mr3px-doc
+%description help
+*This package is forked from `mr3po <https://github.com/yelp/mr3po>`__*
+ "The 3PX-series protocol droid were third-degree protocol droids
+ produced by Cybot Galactica in 50 BBY and based on the design of the
+ company's 3PO-series protocol droid."
+ *`Wookiepedia <http://starwars.wikia.com/wiki/3PX-series_protocol_droid>`__*
+**mr3px** is a library of line-based `custom
+protocols <http://packages.python.org/mrjob/protocols.html#custom-protocols>`__
+for use with the `mrjob <http://packages.python.org/mrjob/>`__ library.
+
+%prep
+%autosetup -n mr3px-0.5.1
+
+%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-mr3px -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b05607e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ca48a24f99f6c61afda841bac38f70f6 mr3px-0.5.1.tar.gz