summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-leather.spec172
-rw-r--r--sources1
3 files changed, 174 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d14071c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/leather-0.3.4.tar.gz
diff --git a/python-leather.spec b/python-leather.spec
new file mode 100644
index 0000000..f38e056
--- /dev/null
+++ b/python-leather.spec
@@ -0,0 +1,172 @@
+%global _empty_manifest_terminate_build 0
+Name: python-leather
+Version: 0.3.4
+Release: 1
+Summary: Python charting for 80% of humans.
+License: MIT
+URL: http://leather.readthedocs.io/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/73/c5/5bc5a19a62147ee8ff2de7b416ee6534b5bd79f22c790d0365ebef223f34/leather-0.3.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-six
+
+%description
+.. image:: https://travis-ci.org/wireservice/leather.png
+ :target: https://travis-ci.org/wireservice/leather
+ :alt: Build status
+
+.. image:: https://img.shields.io/pypi/dw/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: PyPI downloads
+
+.. image:: https://img.shields.io/pypi/v/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Version
+
+.. image:: https://img.shields.io/pypi/l/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: License
+
+.. image:: https://img.shields.io/pypi/pyversions/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Support Python versions
+
+Leather is the Python charting library for those who need charts *now* and don't care if they're perfect.
+
+Leather isn't picky. It's rough. It gets dirty. It looks sexy just hanging on the back of a chair. Leather doesn't need your accessories. Leather is how Snake Plissken would make charts.
+
+Get it?
+
+Important links:
+
+* Documentation: http://leather.rtfd.io
+* Repository: https://github.com/wireservice/leather
+* Issues: https://github.com/wireservice/leather/issues
+
+
+
+
+%package -n python3-leather
+Summary: Python charting for 80% of humans.
+Provides: python-leather
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-leather
+.. image:: https://travis-ci.org/wireservice/leather.png
+ :target: https://travis-ci.org/wireservice/leather
+ :alt: Build status
+
+.. image:: https://img.shields.io/pypi/dw/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: PyPI downloads
+
+.. image:: https://img.shields.io/pypi/v/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Version
+
+.. image:: https://img.shields.io/pypi/l/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: License
+
+.. image:: https://img.shields.io/pypi/pyversions/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Support Python versions
+
+Leather is the Python charting library for those who need charts *now* and don't care if they're perfect.
+
+Leather isn't picky. It's rough. It gets dirty. It looks sexy just hanging on the back of a chair. Leather doesn't need your accessories. Leather is how Snake Plissken would make charts.
+
+Get it?
+
+Important links:
+
+* Documentation: http://leather.rtfd.io
+* Repository: https://github.com/wireservice/leather
+* Issues: https://github.com/wireservice/leather/issues
+
+
+
+
+%package help
+Summary: Development documents and examples for leather
+Provides: python3-leather-doc
+%description help
+.. image:: https://travis-ci.org/wireservice/leather.png
+ :target: https://travis-ci.org/wireservice/leather
+ :alt: Build status
+
+.. image:: https://img.shields.io/pypi/dw/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: PyPI downloads
+
+.. image:: https://img.shields.io/pypi/v/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Version
+
+.. image:: https://img.shields.io/pypi/l/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: License
+
+.. image:: https://img.shields.io/pypi/pyversions/leather.svg
+ :target: https://pypi.python.org/pypi/leather
+ :alt: Support Python versions
+
+Leather is the Python charting library for those who need charts *now* and don't care if they're perfect.
+
+Leather isn't picky. It's rough. It gets dirty. It looks sexy just hanging on the back of a chair. Leather doesn't need your accessories. Leather is how Snake Plissken would make charts.
+
+Get it?
+
+Important links:
+
+* Documentation: http://leather.rtfd.io
+* Repository: https://github.com/wireservice/leather
+* Issues: https://github.com/wireservice/leather/issues
+
+
+
+
+%prep
+%autosetup -n leather-0.3.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-leather -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3d0b199
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+fefa55f31cb77ae7526c7d82dafc53ef leather-0.3.4.tar.gz