[arch-commits] Commit in python-transaction/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Mar 15 23:07:35 UTC 2020


    Date: Sunday, March 15, 2020 @ 23:07:33
  Author: felixonmars
Revision: 598805

archrelease: copy trunk to community-testing-any

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

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

Copied: python-transaction/repos/community-testing-any/PKGBUILD (from rev 598804, python-transaction/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-03-15 23:07:33 UTC (rev 598805)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-transaction
+pkgver=3.0.0
+pkgrel=1
+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=('9f1c80fec205e8d13e8093c46dcd93fd27a5303bceca2b29e3d239f40c801355b131064fd695908cc166b8a4395d60d9deaec1a93cdbcd160417edd113c1fd8b')
+
+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