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

Jelle van der Waa jelle at archlinux.org
Thu Nov 21 15:22:43 UTC 2019


    Date: Thursday, November 21, 2019 @ 15:22:42
  Author: jelle
Revision: 531108

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-21 15:22:39 UTC (rev 531107)
+++ PKGBUILD	2019-11-21 15:22:42 UTC (rev 531108)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-transaction
-pkgname=('python-transaction' 'python2-transaction')
-pkgver=2.4.0
-pkgrel=2
-pkgdesc='Transaction management for Python'
-arch=('any')
-license=('ZPL')
-url='https://github.com/zopefoundation/transaction'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/transaction/archive/$pkgver.tar.gz")
-sha512sums=('193bf72351d991bd484a1e35b96ed361791321a3c82e960ea40d8d28ab56433dc4a78b7acd4bf1a960b0671bf2a273b9f87a55de57245f8e0c9284bd5977c8c2')
-
-prepare() {
-  cp -a transaction-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/transaction-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/transaction-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/transaction-$pkgver
-  python setup.py nosetests
-
-  cd "$srcdir"/transaction-$pkgver-py2
-  python2 setup.py nosetests
-}
-
-package_python-transaction() {
-  depends=('python-zope-interface')
-
-  cd transaction-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-transaction() {
-  depends=('python2-zope-interface')
-
-  cd transaction-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-transaction/repos/community-any/PKGBUILD (from rev 531107, python-transaction/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-21 15:22:42 UTC (rev 531108)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-transaction
+pkgver=2.4.0
+pkgrel=3
+pkgdesc='Transaction management for Python'
+arch=('any')
+license=('ZPL')
+url='https://github.com/zopefoundation/transaction'
+depends=('python-zope-interface')
+makedepends=('python-setuptools' 'python-zope-interface')
+checkdepends=('python-nose' 'python-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/transaction/archive/$pkgver.tar.gz")
+sha512sums=('193bf72351d991bd484a1e35b96ed361791321a3c82e960ea40d8d28ab56433dc4a78b7acd4bf1a960b0671bf2a273b9f87a55de57245f8e0c9284bd5977c8c2')
+
+build() {
+  cd transaction-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd transaction-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd transaction-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list