Date: Sunday, September 22, 2019 @ 13:56:39 Author: foxboron Revision: 511521
archrelease: copy trunk to community-x86_64 Added: python-keyutils/repos/community-x86_64/PKGBUILD (from rev 511520, python-keyutils/trunk/PKGBUILD) Deleted: python-keyutils/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 83 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-22 13:56:31 UTC (rev 511520) +++ PKGBUILD 2019-09-22 13:56:39 UTC (rev 511521) @@ -1,41 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contibutor: Pierre Neidhardt <ambre...@gmail.com> - -pkgbase=python-keyutils -pkgname=(python-keyutils python2-keyutils) -pkgver=0.5 -pkgrel=3 -pkgdesc="A set of python bindings for keyutils" -arch=("x86_64") -url="https://github.com/sassoftware/python-keyutils" -license=("Apache") -makedepends=("python" "python-setuptools" - "python2" "python2-setuptools") -checkdepends=("python-pytest" "python-pytest-runner" - "python2-pytest" "python2-pytest-runner") -source=("$pkgname-$pkgver.tar.gz::https://github.com/sassoftware/python-keyutils/archive/v$pkgver.tar.gz") -sha256sums=('a1a12891e618f1568d9a873c0990e17ff39abf11ba81b65e5dae3cd7ced63441') - -prepare(){ - cp -r "$pkgname-$pkgver"{,-py2} -} - -build(){ - cd "$srcdir/$pkgname-$pkgver" - python setup.py build - - cd "$srcdir/$pkgname-$pkgver-py2" - python2 setup.py build -} - -package_python-keyutils() { - depends=("python" "keyutils") - cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build -} - -package_python2-keyutils() { - depends=("python2" "keyutils") - cd "$pkgbase-$pkgver-py2" - python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build -} Copied: python-keyutils/repos/community-x86_64/PKGBUILD (from rev 511520, python-keyutils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-22 13:56:39 UTC (rev 511521) @@ -0,0 +1,42 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contibutor: Pierre Neidhardt <ambre...@gmail.com> + +pkgbase=python-keyutils +pkgname=(python-keyutils python2-keyutils) +pkgver=0.6 +pkgrel=1 +pkgdesc="A set of python bindings for keyutils" +arch=("x86_64") +url="https://github.com/sassoftware/python-keyutils" +license=("Apache") +# python-pytest-runner in makedepends due to be set in setup_requires (which is wrong upstream) +makedepends=("python" "python-setuptools" "python-pytest-runner" + "python2" "python2-setuptools" "python2-pytest-runner") +checkdepends=("python-pytest" + "python2-pytest") +source=("$pkgname-$pkgver.tar.gz::https://github.com/sassoftware/python-keyutils/archive/$pkgver.tar.gz") +sha256sums=('f69e6cadc50525dcb117714e440ee6579b0e5b7f12910b2bb2e910b236a2b18b') + +prepare(){ + cp -r "$pkgname-$pkgver"{,-py2} +} + +build(){ + cd "$srcdir/$pkgname-$pkgver" + python setup.py build + + cd "$srcdir/$pkgname-$pkgver-py2" + python2 setup.py build +} + +package_python-keyutils() { + depends=("python" "keyutils") + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build +} + +package_python2-keyutils() { + depends=("python2" "keyutils") + cd "$pkgbase-$pkgver-py2" + python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build +}