summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-28 02:24:08 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-28 02:24:08 +0000
commit22c02a27a7933dabe6d82b72b2227b0f8b8c071d (patch)
treef7f850e9b61a29e2fe2712fd667e1d8214859bfc
parenta0006a6513ba7afc37de37f379570c1b3828e746 (diff)
automatic import of python-PythonLibs
-rw-r--r--.gitignore1
-rw-r--r--PythonLibs.spec59
-rw-r--r--sources1
3 files changed, 61 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..23241b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-PythonLibs-0.01.tar.gz
diff --git a/PythonLibs.spec b/PythonLibs.spec
new file mode 100644
index 0000000..0f7251c
--- /dev/null
+++ b/PythonLibs.spec
@@ -0,0 +1,59 @@
+%global pypi_name PythonLibs
+
+Name: python-%{pypi_name}
+Version: 0.01
+Release: 1%{?dist}
+Summary: Python learning repository with utility modules for GitHub API and email
+
+License: GPL-3.0
+URL: https://github.com/Michel4lves/pythonlibs
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+%description
+PythonLibs is a Python learning repository containing utility modules for
+GitHub API interaction (avatar lookup), database connections, user modeling,
+and email sending. It is a setuptools-based pure Python package.
+
+%package -n python3-%{pypi_name}
+Summary: Python learning repository with utility modules for GitHub API and email
+Provides: python-%{pypi_name} = %{version}-%{release}
+Provides: python3dist(pythonlibs) = %{version}
+Requires: python3-requests
+
+%description -n python3-%{pypi_name}
+PythonLibs is a Python learning repository containing utility modules for
+GitHub API interaction (avatar lookup), database connections, user modeling,
+and email sending. It is a setuptools-based pure Python package.
+
+%package help
+Summary: Development documents and examples for %{pypi_name}
+Requires: python3-%{pypi_name}
+
+%description help
+Development documents and examples for %{pypi_name}.
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%{python3_sitelib}/pythonlibs/
+%{python3_sitelib}/pythonlibs-%{version}*.egg-info/
+
+%files help
+%license LICENSE
+%doc README.md
+
+%changelog
+* Mon Sep 28 2026 Python_Bot <Python_Bot@openeuler.org> - 0.01-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..fab8f1d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b5b01e66415c37ccc8c2ddbbf3e2c92f python-PythonLibs-0.01.tar.gz