[arch-commits] Commit in python-uhashring/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Dec 17 10:00:55 UTC 2019
Date: Tuesday, December 17, 2019 @ 10:00:55
Author: jelle
Revision: 537915
archrelease: copy trunk to community-any
Added:
python-uhashring/repos/community-any/PKGBUILD
(from rev 537914, python-uhashring/trunk/PKGBUILD)
Deleted:
python-uhashring/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++------------------------------------
1 file changed, 30 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-17 10:00:45 UTC (rev 537914)
+++ PKGBUILD 2019-12-17 10:00:55 UTC (rev 537915)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-uhashring
-pkgname=(python-uhashring python2-uhashring)
-pkgver=1.1
-pkgrel=3
-pkgdesc="Full featured consistent hashing python library compatible with ketama"
-url="https://github.com/ultrabug/uhashring"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-memcached' 'python2-memcached')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ultrabug/uhashring/archive/$pkgver.tar.gz")
-sha512sums=('4895ddc08e71d9c1ecb28c56fa4c4505cf361b5e92206f4a206682c37922074e48b17a2c09b297e2401f40ca6af0559d7e20f9c67ee8a75274b102ce4f4c9da6')
-
-build() {
- cd uhashring-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd uhashring-$pkgver
- python setup.py pytest
- python2 setup.py pytest
-}
-
-package_python-uhashring() {
- depends=('python')
-
- cd uhashring-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-uhashring() {
- depends=('python2')
-
- cd uhashring-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-uhashring/repos/community-any/PKGBUILD (from rev 537914, python-uhashring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-17 10:00:55 UTC (rev 537915)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-uhashring
+pkgver=1.1
+pkgrel=4
+pkgdesc="Full featured consistent hashing python library compatible with ketama"
+url="https://github.com/ultrabug/uhashring"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-memcached')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ultrabug/uhashring/archive/$pkgver.tar.gz")
+sha512sums=('4895ddc08e71d9c1ecb28c56fa4c4505cf361b5e92206f4a206682c37922074e48b17a2c09b297e2401f40ca6af0559d7e20f9c67ee8a75274b102ce4f4c9da6')
+
+build() {
+ cd uhashring-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd uhashring-$pkgver
+ python setup.py pytest
+}
+
+package_python-uhashring() {
+ cd uhashring-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list