From e94584df671e5d1da81b13faac4a0378885572c5 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Nov 25 2022 11:43:30 +0000 Subject: Import python-binary-memcached-0.31.1-1.fc38 It's being added to fedora in [1]. [1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2145124 Related-to: https://review.rdoproject.org/r/q/Ib1759ef06cd599d80037cfa7c6742e1473a855eb --- diff --git a/.python-binary-memcached.metadata b/.python-binary-memcached.metadata new file mode 100644 index 0000000..82a037e --- /dev/null +++ b/.python-binary-memcached.metadata @@ -0,0 +1 @@ +aac9eb478e39adfe9a6ddb4696222e34f8565795 SOURCES/v0.31.1.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-binary-memcached.spec b/SPECS/python-binary-memcached.spec new file mode 100644 index 0000000..991a099 --- /dev/null +++ b/SPECS/python-binary-memcached.spec @@ -0,0 +1,59 @@ +%global module python-binary-memcached +%global srcname %{module} + + +Name: %{module} +Version: 0.31.1 +Release: 1%{?dist} +Summary: Python module python-binary-memcached + +License: MIT +URL: https://github.com/jaysonsantos/%{module} +Source: https://github.com/jaysonsantos/%{module}/archive/refs/tags/v%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-m2r +BuildRequires: python3-flake8 +BuildRequires: python3-pytest +BuildRequires: python3-trustme +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-uhashring +BuildRequires: memcached + +%global _description %{expand: +A pure python module (thread safe) to access memcached via it’s binary with SASL auth support.} + +%description %_description + +%package -n python3-binary-memcached +Summary: %{summary} +Requires: memcached + +%description -n python3-binary-memcached +%_description + +%prep +%autosetup -p1 -n %{module}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install + +%pyproject_save_files bmemcached + +%check +%pytest + + +%files -n python3-binary-memcached -f %{pyproject_files} +%doc README.rst + +%changelog +* Tue Nov 22 2022 Alfredo Moralejo - 0.31.1-1 +- Initial build with version 0.31.1 +