[arch-commits] Commit in python-cachy/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 14:29:19 UTC 2020


    Date: Thursday, November 12, 2020 @ 14:29:18
  Author: felixonmars
Revision: 751936

archrelease: copy trunk to community-staging-any

Added:
  python-cachy/repos/community-staging-any/PKGBUILD
    (from rev 751934, python-cachy/trunk/PKGBUILD)
Deleted:
  python-cachy/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 14:29:17 UTC (rev 751935)
+++ PKGBUILD	2020-11-12 14:29:18 UTC (rev 751936)
@@ -1,44 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=cachy
-pkgname=python-cachy
-pkgver=0.3.0
-pkgrel=3
-pkgdesc="simple yet effective caching library"
-arch=('any')
-url="https://github.com/sdispater/${_pkgname}"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools' 'python-dephell')
-_checkdeps=('flexmock' 'pytest-mock' 'memcached' 'fakeredis')
-checkdepends=("${_checkdeps[@]/#/python-}" 'pifpaf' 'memcached')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1')
-b2sums=('df2d1356a309707af5aea9aa0e534130f21815da58988a5623feb3fff3d97de655c3977a80dcf8eaefe47d9d14d8e6e6a4bab0f8afd8d42668ed061172c0a1c7')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # poetry-generated setup.py are fatally broken, see:
-    # https://github.com/sdispater/poetry/issues/866
-    dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    pifpaf run memcached --port 11211 -- pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-cachy/repos/community-staging-any/PKGBUILD (from rev 751934, python-cachy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 14:29:18 UTC (rev 751936)
@@ -0,0 +1,44 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=cachy
+pkgname=python-cachy
+pkgver=0.3.0
+pkgrel=4
+pkgdesc="simple yet effective caching library"
+arch=('any')
+url="https://github.com/sdispater/${_pkgname}"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'python-dephell')
+_checkdeps=('flexmock' 'pytest-mock' 'memcached' 'fakeredis')
+checkdepends=("${_checkdeps[@]/#/python-}" 'pifpaf' 'memcached')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1')
+b2sums=('df2d1356a309707af5aea9aa0e534130f21815da58988a5623feb3fff3d97de655c3977a80dcf8eaefe47d9d14d8e6e6a4bab0f8afd8d42668ed061172c0a1c7')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    # poetry-generated setup.py are fatally broken, see:
+    # https://github.com/sdispater/poetry/issues/866
+    dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    pifpaf run memcached --port 11211 -- pytest
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list