Date: Wednesday, May 13, 2020 @ 19:35:39
  Author: jelle
Revision: 627766

archrelease: copy trunk to community-any

Added:
  python-aspectlib/repos/community-any/PKGBUILD
    (from rev 627765, python-aspectlib/trunk/PKGBUILD)
Deleted:
  python-aspectlib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++---------------------------------------
 1 file changed, 31 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-05-13 19:35:31 UTC (rev 627765)
+++ PKGBUILD    2020-05-13 19:35:39 UTC (rev 627766)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=python-aspectlib
-pkgname=('python-aspectlib' 'python2-aspectlib')
-pkgver=1.4.2
-pkgrel=5
-pkgdesc="Development library for quickly writing configurable applications and 
daemons"
-arch=('any')
-license=('BSD')
-url="https://github.com/ionelmc/python-aspectlib";
-makedepends=('python-setuptools' 'python2-setuptools' 'python-fields' 
'python2-fields')
-checkdepends=('python-mock' 'python2-mock' 'python-tornado' 'python2-tornado'
-              'python-process-tests' 'python2-process-tests' 'python2-trollius'
-              'python-profilestats' 'python2-profilestats' 'python-pytest' 
'python2-pytest') # 'mysql-python')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz";)
-sha512sums=('fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57')
-
-prepare() {
-  cp -a python-aspectlib-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-aspectlib-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-aspectlib-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-aspectlib-$pkgver
-  LC_CTYPE=en_US.UTF-8 py.test || warning 
"https://github.com/ionelmc/python-aspectlib/issues/11";
-
-  cd "$srcdir"/python-aspectlib-$pkgver-py2
-  py.test2 || warning "Tests failed"
-}
-
-package_python-aspectlib() {
-  depends=('python-fields')
-
-  cd python-aspectlib-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-aspectlib() {
-  depends=('python2-fields')
-
-  cd python-aspectlib-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-aspectlib/repos/community-any/PKGBUILD (from rev 627765, 
python-aspectlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-05-13 19:35:39 UTC (rev 627766)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=python-aspectlib
+pkgver=1.4.2
+pkgrel=5
+pkgdesc="Development library for quickly writing configurable applications and 
daemons"
+arch=('any')
+license=('BSD')
+url="https://github.com/ionelmc/python-aspectlib";
+depends=('python-fields')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
+              'python-profilestats' 'python-pytest') # 'mysql-python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz";)
+sha512sums=('fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57')
+
+build() {
+  cd "$srcdir"/python-aspectlib-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-aspectlib-$pkgver
+  LC_CTYPE=en_US.UTF-8 py.test || warning 
"https://github.com/ionelmc/python-aspectlib/issues/11";
+}
+
+package() {
+  cd python-aspectlib-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to