summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-14 07:25:49 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-14 07:25:49 +0000
commit71ed0c0dc74f0373d4975a6322ff37beca24bd42 (patch)
treec7fbd1cfa65768f5e4d65ee1471153fc62da87fa
parent7f21f3d0031fe4d60d5f5bdc0d2a6cb622c9900c (diff)
automatic import of python-pyLibravataropeneuler22.03_LTS_SP4
-rw-r--r--.gitignore1
-rw-r--r--python-pyLibravatar.spec51
-rw-r--r--sources1
3 files changed, 53 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a98d79f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyLibravatar-1.7.tar.gz
diff --git a/python-pyLibravatar.spec b/python-pyLibravatar.spec
new file mode 100644
index 0000000..f9b7e30
--- /dev/null
+++ b/python-pyLibravatar.spec
@@ -0,0 +1,51 @@
+%global pypi_name pyLibravatar
+%global pypi_version 1.7
+
+Name: python-%{pypi_name}
+Version: %{pypi_version}
+Release: 2
+Summary: Python module for Libravatar
+
+License: MIT
+URL: https://launchpad.net/pylibravatar
+Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+%description
+PyLibravatar is an easy way to make use of the federated Libravatar_ avatar
+hosting service from within your Python applications.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+Requires: python3-py3dns
+
+%description -n python3-%{pypi_name}
+PyLibravatar is an easy way to make use of the federated Libravatar_ avatar
+hosting service from within your Python applications.
+
+
+%prep
+%autosetup -n %{pypi_name}-%{pypi_version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-%{pypi_name}
+%doc README.txt
+%{python3_sitelib}/__pycache__/*
+%{python3_sitelib}/libravatar.py
+%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
+
+%changelog
+* Wed Mar 29 2023 lichaoran <pkwarcraft@hotmail.com> - 1.7-2
+- add py3dns as dep
+
+* Thu Jan 27 2022 zhangkea <zhangkea@uniontech.com> - 1.7-1
+- Initial package.
diff --git a/sources b/sources
new file mode 100644
index 0000000..e48d396
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b612f6d8caf4194bdd735d68d23fe5ee pyLibravatar-1.7.tar.gz