Date: Tuesday, April 18, 2023 @ 07:40:25
  Author: felixonmars
Revision: 1447173

archrelease: copy trunk to community-staging-any

Added:
  python-nose-cover3/repos/community-staging-any/
  python-nose-cover3/repos/community-staging-any/PKGBUILD
    (from rev 1447172, python-nose-cover3/trunk/PKGBUILD)

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

Copied: python-nose-cover3/repos/community-staging-any/PKGBUILD (from rev 
1447172, python-nose-cover3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-18 07:40:25 UTC (rev 1447173)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-nose-cover3
+pkgver=0.1.0
+pkgrel=10
+pkgdesc="Coverage 3.x support for Nose"
+arch=(any)
+url="https://github.com/ask/nosecover3";
+license=('LGPL')
+options=('!emptydirs')
+depends=('python-nose' 'python-coverage')
+makedepends=('python-setuptools' 'git')
+source=("git+https://github.com/ask/nosecover3.git#tag=v$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd nosecover3
+  sed -i 's/extra.update(use_2to3=True)/pass/' setup.py
+}
+
+build() {
+  cd nosecover3
+  2to3 -wn nosecover3
+  python setup.py build
+}
+
+package() {
+  cd nosecover3
+  python setup.py install --root="${pkgdir}" --optimize=1
+}

Reply via email to