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

Giancarlo Razzolini grazzolini at archlinux.org
Wed Oct 2 13:04:36 UTC 2019


    Date: Wednesday, October 2, 2019 @ 13:04:36
  Author: grazzolini
Revision: 512420

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-02 13:03:55 UTC (rev 512419)
+++ PKGBUILD	2019-10-02 13:04:36 UTC (rev 512420)
@@ -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.10
-pkgrel=1
-pkgdesc="LZ4 bindings for Python"
-arch=('x86_64')
-license=('BSD')
-url="https://github.com/python-lz4/python-lz4"
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-pkgconfig' 'python2-pkgconfig' 'python2-future')
-checkdepends=('python-pytest' 'python-psutil' 'python2-pytest' 'python2-psutil')
-source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz")
-sha512sums=('2bee74fba190329f99bef231bc7460f213077c1ae8ced37ff507fef3f01a4e14748f525b2d478b179c4f5d00497c286c931458b2349273dfc3446e6e638d4228')
-
-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 -m pytest
-
-  cd "$srcdir"/$_pkgname-$pkgver-python2
-  python2 -m pytest
-}
-
-package_python-lz4() {
-  depends=('python')
-
-  cd $_pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-lz4() {
-  depends=('python2' 'python2-future')
-
-  cd $_pkgname-$pkgver-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-lz4/repos/community-x86_64/PKGBUILD (from rev 512419, python-lz4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-02 13:04:36 UTC (rev 512420)
@@ -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.2.1
+pkgrel=1
+pkgdesc="LZ4 bindings for Python"
+arch=('x86_64')
+license=('BSD')
+url="https://github.com/python-lz4/python-lz4"
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-pkgconfig' 'python2-pkgconfig' 'python2-future')
+checkdepends=('python-pytest' 'python-psutil' 'python2-pytest' 'python2-psutil')
+source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz")
+sha512sums=('3f6400c0ac02182306fcb0e76fc78fdcec604bd89baa288c71261cce05350de244eb0d4263e4c1c1d647a529426beac409b3ff20c170c3ea19c7dd82cfae834b')
+
+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 -m pytest
+
+  cd "$srcdir"/$_pkgname-$pkgver-python2
+  python2 -m pytest
+}
+
+package_python-lz4() {
+  depends=('python')
+
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-lz4() {
+  depends=('python2' 'python2-future')
+
+  cd $_pkgname-$pkgver-python2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list