[arch-commits] Commit in python-venusian/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 13:33:18 UTC 2019


    Date: Tuesday, April 2, 2019 @ 13:33:17
  Author: felixonmars
Revision: 447744

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   82 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 13:33:06 UTC (rev 447743)
+++ PKGBUILD	2019-04-02 13:33:17 UTC (rev 447744)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
-
-pkgbase=python-venusian
-pkgname=('python-venusian' 'python2-venusian')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="A library for deferring decorator actions"
-arch=('any')
-license=('custom:BSD')
-url="http://pylonsproject.org"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/venusian/archive/$pkgver.tar.gz")
-sha512sums=('8ae485677f28584701d0cb3997aab4c1ecfaa78580a3da951ae63a7c6cc266beee1f5064e0a2653c2e1210a4138aa123c1309be5e5f858ec13ff72ec19429e13')
-
-prepare() {
-  cp -a venusian-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/venusian-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/venusian-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/venusian-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/venusian-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-venusian() {
-  depends=('python')
-
-  cd venusian-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-venusian() {
-  depends=('python2')
-
-  cd venusian-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-venusian/repos/community-any/PKGBUILD (from rev 447743, python-venusian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 13:33:17 UTC (rev 447744)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-venusian
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="A library for deferring decorator actions"
+arch=('any')
+license=('custom:BSD')
+url="http://pylonsproject.org"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/venusian/archive/$pkgver.tar.gz")
+sha512sums=('8ae485677f28584701d0cb3997aab4c1ecfaa78580a3da951ae63a7c6cc266beee1f5064e0a2653c2e1210a4138aa123c1309be5e5f858ec13ff72ec19429e13')
+
+build() {
+  cd venusian-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd venusian-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd venusian-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list