[arch-commits] Commit in python-plyvel/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 23 07:43:54 UTC 2018
Date: Thursday, August 23, 2018 @ 07:43:54
Author: felixonmars
Revision: 373350
archrelease: copy trunk to community-x86_64
Added:
python-plyvel/repos/community-x86_64/PKGBUILD
(from rev 373349, python-plyvel/trunk/PKGBUILD)
Deleted:
python-plyvel/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-23 07:43:17 UTC (rev 373349)
+++ PKGBUILD 2018-08-23 07:43:54 UTC (rev 373350)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgname=(python-plyvel python2-plyvel)
-pkgver=1.0.4
-pkgrel=2
-pkgdesc="A fast and feature-rich Python interface to LevelDB"
-arch=('x86_64')
-license=('BSD')
-url="https://github.com/wbolster/plyvel"
-makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools' 'leveldb')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/p/plyvel/plyvel-$pkgver.tar.gz")
-sha512sums=('ee397d4f7e2dac4e7b382841559895184dc0356b84da4ff4ccdad43c32aebcb1dcc5020230a5564c875ed5d4401cc8b009438ca3b2e0b50e6467e384f0366171')
-
-prepare() {
- # Shipped egg-info has wrong permission etc
- (cd plyvel-$pkgver; make clean)
-
- cp -a plyvel-$pkgver{,-py2}
-
- sed -i 's/cython/cython2/' plyvel-$pkgver-py2/Makefile
-}
-
-build() {
- cd "$srcdir"/plyvel-$pkgver
- make cython
- python setup.py build
-
- cd "$srcdir"/plyvel-$pkgver-py2
- make cython2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/plyvel-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/plyvel-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-plyvel() {
- depends=('leveldb' 'python')
-
- cd plyvel-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
-
-package_python2-plyvel() {
- depends=('leveldb' 'python2')
-
- cd plyvel-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
Copied: python-plyvel/repos/community-x86_64/PKGBUILD (from rev 373349, python-plyvel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-23 07:43:54 UTC (rev 373350)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=(python-plyvel python2-plyvel)
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="A fast and feature-rich Python interface to LevelDB"
+arch=('x86_64')
+license=('BSD')
+url="https://github.com/wbolster/plyvel"
+makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools' 'leveldb')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/p/plyvel/plyvel-$pkgver.tar.gz")
+sha512sums=('d2a7fe9d49b377135ece03292f366423e9550d3440689a99246d8c5ddc38e474c2b05c709655c6bf74a1d04f742a23dfb8841b51698c2adb062418577b28c4b4')
+
+prepare() {
+ # Shipped egg-info has wrong permission etc
+ (cd plyvel-$pkgver; make clean)
+
+ cp -a plyvel-$pkgver{,-py2}
+
+ sed -i 's/cython/cython2/' plyvel-$pkgver-py2/Makefile
+}
+
+build() {
+ cd "$srcdir"/plyvel-$pkgver
+ make cython
+ python setup.py build
+
+ cd "$srcdir"/plyvel-$pkgver-py2
+ make cython2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/plyvel-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/plyvel-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-plyvel() {
+ depends=('leveldb' 'python')
+
+ cd plyvel-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-plyvel() {
+ depends=('leveldb' 'python2')
+
+ cd plyvel-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
More information about the arch-commits
mailing list