diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:02:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:02:57 +0000 |
commit | 7d07f9a754b14eae7c40517b8d30ef82887738f0 (patch) | |
tree | e27e9ad67e70fc196c72a29a937e9f6ebb545bc7 | |
parent | ff6ef0f5feb4d23a55bbb6baf757dafed747f626 (diff) |
automatic import of python-python3-memcached
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-python3-memcached.spec | 117 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 119 insertions, 0 deletions
@@ -0,0 +1 @@ +/python3-memcached-1.51.tar.gz diff --git a/python-python3-memcached.spec b/python-python3-memcached.spec new file mode 100644 index 0000000..a159b47 --- /dev/null +++ b/python-python3-memcached.spec @@ -0,0 +1,117 @@ +%global _empty_manifest_terminate_build 0 +Name: python-python3-memcached +Version: 1.51 +Release: 1 +Summary: Pure python memcached client +License: UNKNOWN +URL: https://github.com/eguven/python3-memcached +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/fa/cd0d93c30722db0cfa777ec9cd0203fa7da2771a5c70c9908f471944b6e2/python3-memcached-1.51.tar.gz +BuildArch: noarch + + +%description +Python3 port for pure python memcached client library, ported and being +kept up to date by https://github.com/eguven + +Please report issues and submit code changes to the github repository at: + + https://github.com/eguven/python3-memcached + +Below is the original README content. + +This package was originally written by Evan Martin of Danga. +Sean Reifschneider of tummy.com, ltd. has taken over maintenance of it. + +This software is a 100% Python interface to the memcached memory cache +daemon. It is the client side software which allows storing values in one +or more, possibly remote, memcached servers. Search google for memcached +for more information. + +%package -n python3-python3-memcached +Summary: Pure python memcached client +Provides: python-python3-memcached +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-python3-memcached +Python3 port for pure python memcached client library, ported and being +kept up to date by https://github.com/eguven + +Please report issues and submit code changes to the github repository at: + + https://github.com/eguven/python3-memcached + +Below is the original README content. + +This package was originally written by Evan Martin of Danga. +Sean Reifschneider of tummy.com, ltd. has taken over maintenance of it. + +This software is a 100% Python interface to the memcached memory cache +daemon. It is the client side software which allows storing values in one +or more, possibly remote, memcached servers. Search google for memcached +for more information. + +%package help +Summary: Development documents and examples for python3-memcached +Provides: python3-python3-memcached-doc +%description help +Python3 port for pure python memcached client library, ported and being +kept up to date by https://github.com/eguven + +Please report issues and submit code changes to the github repository at: + + https://github.com/eguven/python3-memcached + +Below is the original README content. + +This package was originally written by Evan Martin of Danga. +Sean Reifschneider of tummy.com, ltd. has taken over maintenance of it. + +This software is a 100% Python interface to the memcached memory cache +daemon. It is the client side software which allows storing values in one +or more, possibly remote, memcached servers. Search google for memcached +for more information. + +%prep +%autosetup -n python3-memcached-1.51 + +%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-python3-memcached -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.51-1 +- Package Spec generated @@ -0,0 +1 @@ +04adbf943c67a9206f4571d3388f36c2 python3-memcached-1.51.tar.gz |