Date: Tuesday, March 21, 2023 @ 22:34:40
  Author: felixonmars
Revision: 1425150

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-21 22:34:31 UTC (rev 1425149)
+++ PKGBUILD    2023-03-21 22:34:40 UTC (rev 1425150)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-transaction
-pkgver=3.0.1
-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=("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:

Copied: python-transaction/repos/community-any/PKGBUILD (from rev 1425149, 
python-transaction/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-21 22:34:40 UTC (rev 1425150)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-transaction
+pkgver=3.1.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')
+checkdepends=('python-zope-testrunner' 'python-mock')
+source=("https://github.com/zopefoundation/transaction/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('44a1c6e4a9790953a4ca31eb9660d85723dca37694a38c80ccc09945b1e23886c4ca2f0ca6dd705d489f80c068ecf921e42a9e0f1a6958b50b7d0e7074040548')
+
+build() {
+  cd transaction-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd transaction-$pkgver
+  PYTHONPATH="$PWD"/build/lib zope-testrunner --test-path=src
+}
+
+package() {
+  cd transaction-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to