[arch-commits] Commit in python-lz4/repos/community-x86_64 (PKGBUILD PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Tue Dec 25 18:04:24 UTC 2018
Date: Tuesday, December 25, 2018 @ 18:04:24
Author: grazzolini
Revision: 418084
archrelease: copy trunk to community-x86_64
Added:
python-lz4/repos/community-x86_64/PKGBUILD
(from rev 418083, python-lz4/trunk/PKGBUILD)
Deleted:
python-lz4/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-25 18:03:45 UTC (rev 418083)
+++ PKGBUILD 2018-12-25 18:04:24 UTC (rev 418084)
@@ -1,55 +0,0 @@
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-# Contributor: Nissar Chababy <funilrys at outlook dot com>
-# Contributor: Thrasibule <guillaume dot horel at gmail dot com>
-# Contributor: David Manouchehri <manouchehri at riseup.net>
-# Contributor: Vladimir Tsanev <tsachev at gmail.com>
-# Contributor: Andrew Reed <reed.996 at osu.edu>
-# Contributor: "Score_Under" <seejay.11 at gmail.com>
-
-pkgbase=python-lz4
-_pkgname=lz4
-pkgname=('python-lz4' 'python2-lz4')
-pkgver=2.1.2
-pkgrel=1
-pkgdesc="LZ4 bindings for Python"
-arch=('x86_64')
-license=('BSD')
-url="https://github.com/python-lz4/python-lz4"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz")
-sha512sums=('f29d70f2237782c0f88d2851d2e2b07dd493aba56ff823ac7afce82c2b2ec48af2a139e341ee36b3cd76cf9a5b6ff2d02cc2246b68079823c018c2dcfb658379')
-
-prepare() {
- cp -a $_pkgname-${pkgver}{,-python2}
-}
-
-build() {
- cd "$srcdir"/$_pkgname-$pkgver
- python setup.py build
-
- cd "$srcdir"/$_pkgname-$pkgver-python2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/$_pkgname-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/$_pkgname-$pkgver-python2
- python2 setup.py pytest
-}
-
-package_python-lz4() {
- depends=('python')
-
- cd $_pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-lz4() {
- depends=('python2')
-
- cd $_pkgname-$pkgver-python2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-lz4/repos/community-x86_64/PKGBUILD (from rev 418083, python-lz4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-25 18:04:24 UTC (rev 418084)
@@ -0,0 +1,55 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Nissar Chababy <funilrys at outlook dot com>
+# Contributor: Thrasibule <guillaume dot horel at gmail dot com>
+# Contributor: David Manouchehri <manouchehri at riseup.net>
+# Contributor: Vladimir Tsanev <tsachev at gmail.com>
+# Contributor: Andrew Reed <reed.996 at osu.edu>
+# Contributor: "Score_Under" <seejay.11 at gmail.com>
+
+pkgbase=python-lz4
+_pkgname=lz4
+pkgname=('python-lz4' 'python2-lz4')
+pkgver=2.1.6
+pkgrel=1
+pkgdesc="LZ4 bindings for Python"
+arch=('x86_64')
+license=('BSD')
+url="https://github.com/python-lz4/python-lz4"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz")
+sha512sums=('e37f9576f182adab263d8248e846c9f7d8a0260b2d2c5f94d74ebf3c2e51d91ba07d4bb0bf8a7560981a930fd380a2a3f5c4d21f4de5be3ae066d44a2246e9b5')
+
+prepare() {
+ cp -a $_pkgname-${pkgver}{,-python2}
+}
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/$_pkgname-$pkgver-python2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/$_pkgname-$pkgver-python2
+ python2 setup.py pytest
+}
+
+package_python-lz4() {
+ depends=('python')
+
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-lz4() {
+ depends=('python2')
+
+ cd $_pkgname-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list