Date: Saturday, September 28, 2019 @ 14:46:00
  Author: foxboron
Revision: 511996

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++++--------------------------------------
 1 file changed, 26 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-28 14:45:53 UTC (rev 511995)
+++ PKGBUILD    2019-09-28 14:46:00 UTC (rev 511996)
@@ -1,42 +0,0 @@
-# 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
-}

Copied: python-keyutils/repos/community-x86_64/PKGBUILD (from rev 511995, 
python-keyutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-09-28 14:46:00 UTC (rev 511996)
@@ -0,0 +1,26 @@
+# Maintainer: Morten Linderud <foxbo...@archlinux.org>
+# Contibutor: Pierre Neidhardt <ambre...@gmail.com>
+
+pkgname=python-keyutils
+pkgver=0.6
+pkgrel=2
+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)
+depends=("python" "keyutils")
+makedepends=("python" "python-setuptools" "python-pytest-runner")
+checkdepends=("python-pytest")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sassoftware/python-keyutils/archive/$pkgver.tar.gz";)
+sha256sums=('f69e6cadc50525dcb117714e440ee6579b0e5b7f12910b2bb2e910b236a2b18b')
+
+build(){
+       cd "$pkgname-$pkgver"
+       python setup.py build
+}
+
+package(){
+       cd "$pkgname-$pkgver"
+       python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 
--skip-build
+}

Reply via email to