Date: Thursday, April 25, 2019 @ 12:26:42 Author: arojas Revision: 453793
archrelease: copy trunk to community-x86_64 Added: pynormaliz/repos/community-x86_64/PKGBUILD (from rev 453792, pynormaliz/trunk/PKGBUILD) Deleted: pynormaliz/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-25 12:26:16 UTC (rev 453792) +++ PKGBUILD 2019-04-25 12:26:42 UTC (rev 453793) @@ -1,40 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgbase=pynormaliz -pkgname=(python2-pynormaliz python-pynormaliz) -pkgver=1.19 -pkgrel=2 -pkgdesc="A Python interface to Normaliz" -arch=(x86_64) -url="https://github.com/sebasguts/PyNormaliz" -license=(GPL2) -makedepends=(python-setuptools python2-setuptools normaliz boost) -source=("https://pypi.io/packages/source/P/PyNormaliz/PyNormaliz-$pkgver.tar.gz") -sha256sums=('f96dc3ee609f0753f2ea53bc52c6d531e8111f6d52c3adaeabc754f1295e8167') - -prepare() { - cp -r PyNormaliz-$pkgver PyNormaliz-$pkgver-py2 -} - -build() { - cd PyNormaliz-$pkgver - python setup.py build - - cd ../PyNormaliz-$pkgver-py2 - python2 setup.py build -} - -package_python2-pynormaliz() { - depends=(python2 normaliz) - cd PyNormaliz-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 -} - -package_python-pynormaliz() { - depends=(python normaliz) - cd PyNormaliz-$pkgver - - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 -} - Copied: pynormaliz/repos/community-x86_64/PKGBUILD (from rev 453792, pynormaliz/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-25 12:26:42 UTC (rev 453793) @@ -0,0 +1,40 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgbase=pynormaliz +pkgname=(python2-pynormaliz python-pynormaliz) +pkgver=2.1 +pkgrel=1 +pkgdesc="A Python interface to Normaliz" +arch=(x86_64) +url="https://github.com/sebasguts/PyNormaliz" +license=(GPL2) +makedepends=(python-setuptools python2-setuptools normaliz boost) +source=("https://pypi.io/packages/source/P/PyNormaliz/PyNormaliz-$pkgver.tar.gz") +sha256sums=('7b2bc4941d3783b1a9a09c65b71136757727aa3b5bcb294917590e862a0cfdda') + +prepare() { + cp -r PyNormaliz-$pkgver PyNormaliz-$pkgver-py2 +} + +build() { + cd PyNormaliz-$pkgver + python setup.py build + + cd ../PyNormaliz-$pkgver-py2 + python2 setup.py build +} + +package_python2-pynormaliz() { + depends=(python2 normaliz) + cd PyNormaliz-$pkgver-py2 + + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} + +package_python-pynormaliz() { + depends=(python normaliz) + cd PyNormaliz-$pkgver + + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} +