[arch-commits] Commit in python-aspectlib/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 00:21:49 UTC 2019


    Date: Monday, November 4, 2019 @ 00:21:48
  Author: felixonmars
Revision: 522819

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 00:21:32 UTC (rev 522818)
+++ PKGBUILD	2019-11-04 00:21:48 UTC (rev 522819)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-aspectlib
-pkgname=('python-aspectlib' 'python2-aspectlib')
-pkgver=1.4.2
-pkgrel=4
-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-staging-any/PKGBUILD (from rev 522818, python-aspectlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-04 00:21:48 UTC (rev 522819)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at 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
+}



More information about the arch-commits mailing list