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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:51:29 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:51:28
  Author: felixonmars
Revision: 1059418

archrelease: copy trunk to community-staging-any

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

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

Copied: python-transaction/repos/community-staging-any/PKGBUILD (from rev 1059414, python-transaction/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:51:28 UTC (rev 1059418)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-transaction
+pkgver=3.0.1
+pkgrel=2
+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=("https://github.com/zopefoundation/transaction/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('13570cd074a0f185842a2dfabb7b80d62a81a8de0149f9d40659ad15d3a8405734f5fbd1042b36dffdf2dbfa3c3a95cce5af9f938426069a40a2e614a69a63f5')
+
+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