[arch-commits] Commit in python-pyblake2/repos/community-x86_64 (PKGBUILD PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Mon Apr 27 09:46:50 UTC 2020
Date: Monday, April 27, 2020 @ 09:46:49
Author: tensor5
Revision: 621815
archrelease: copy trunk to community-x86_64
Added:
python-pyblake2/repos/community-x86_64/PKGBUILD
(from rev 621814, python-pyblake2/trunk/PKGBUILD)
Deleted:
python-pyblake2/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++---------------------------------------
1 file changed, 25 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-27 09:46:23 UTC (rev 621814)
+++ PKGBUILD 2020-04-27 09:46:49 UTC (rev 621815)
@@ -1,42 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=('python-pyblake2' 'python2-pyblake2')
-pkgver=1.1.2
-pkgrel=3
-pkgdesc='BLAKE2 hash function for Python'
-arch=('x86_64')
-url='https://pythonhosted.org/pyblake2'
-license=('custom')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/a6/ea/559658f48713567276cabe1344a9ef918adcb34a9da417dbf0a2f7477d8e/pyblake2-${pkgver}.tar.gz")
-sha256sums=('5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f')
-
-prepare() {
- cp -a pyblake2-${pkgver} python2-pyblake2-${pkgver}
-}
-
-build() {
- cd pyblake2-${pkgver}
- python setup.py build
-
- cd ../python2-pyblake2-${pkgver}
- python2 setup.py build
-}
-
-package_python-pyblake2() {
- depends=('python')
-
- cd pyblake2-${pkgver}
-
- python setup.py install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 -t "${pkgdir}/usr/share/licenses/python-pyblake2" COPYING
-}
-
-package_python2-pyblake2() {
- depends=('python2')
-
- cd python2-pyblake2-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 -t "${pkgdir}/usr/share/licenses/python2-pyblake2" COPYING
-}
Copied: python-pyblake2/repos/community-x86_64/PKGBUILD (from rev 621814, python-pyblake2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-27 09:46:49 UTC (rev 621815)
@@ -0,0 +1,25 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=python-pyblake2
+pkgver=1.1.2
+pkgrel=4
+pkgdesc='BLAKE2 hash function for Python'
+arch=('x86_64')
+url='https://pythonhosted.org/pyblake2'
+license=('custom')
+depends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/p/pyblake2/pyblake2-${pkgver}.tar.gz")
+sha256sums=('5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f')
+
+build() {
+ cd pyblake2-${pkgver}
+
+ python setup.py build
+}
+
+package() {
+ cd pyblake2-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --skip-build --optimize=1
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/python-pyblake2" COPYING
+}
More information about the arch-commits
mailing list