[arch-commits] Commit in python-lz4/repos/community-x86_64 (PKGBUILD PKGBUILD)

Giancarlo Razzolini grazzolini at archlinux.org
Fri Apr 20 14:13:57 UTC 2018


    Date: Friday, April 20, 2018 @ 14:13:57
  Author: grazzolini
Revision: 317211

archrelease: copy trunk to community-x86_64

Added:
  python-lz4/repos/community-x86_64/PKGBUILD
    (from rev 317210, python-lz4/trunk/PKGBUILD)
Deleted:
  python-lz4/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-20 14:13:20 UTC (rev 317210)
+++ PKGBUILD	2018-04-20 14:13:57 UTC (rev 317211)
@@ -1,54 +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=lz4
-pkgname=('python-lz4' 'python2-lz4')
-pkgver=1.1.0
-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/${pkgbase:0:1}/$pkgbase/$pkgbase-${pkgver}.tar.gz")
-sha512sums=('3119247e4334b0898b6258a286ea1e2ffeb2e6da958366ec9aefd48e476f05d16b0f059cf47954ea5efafab5a5de0c3f2a825c9e765b488618d75b2d60726c80')
-
-prepare() {
-  cp -a $pkgbase-${pkgver}{,-python2}
-}
-
-build() {
-  cd "$srcdir"/$pkgbase-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/$pkgbase-$pkgver-python2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/$pkgbase-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/$pkgbase-$pkgver-python2
-  python2 setup.py pytest
-}
-
-package_python-lz4() {
-  depends=('python')
-
-  cd $pkgbase-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-lz4() {
-  depends=('python2')
-
-  cd $pkgbase-$pkgver-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-lz4/repos/community-x86_64/PKGBUILD (from rev 317210, python-lz4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-20 14:13:57 UTC (rev 317211)
@@ -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=1.1.0
+pkgrel=2
+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=('3119247e4334b0898b6258a286ea1e2ffeb2e6da958366ec9aefd48e476f05d16b0f059cf47954ea5efafab5a5de0c3f2a825c9e765b488618d75b2d60726c80')
+
+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