Date: Tuesday, January 31, 2023 @ 20:03:23
  Author: felixonmars
Revision: 1391513

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:03:11 UTC (rev 1391512)
+++ PKGBUILD    2023-01-31 20:03:23 UTC (rev 1391513)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-green
-pkgver=3.4.3
-pkgrel=1
-pkgdesc="Green is a clean, colorful, fast python test runner"
-url="https://github.com/CleanCut/green";
-license=('MIT')
-arch=('any')
-depends=('python-colorama' 'python-coverage' 'python-unidecode' 'python-lxml')
-makedepends=('python-setuptools')
-checkdepends=('python-django' 'python-testtools')
-source=("https://github.com/CleanCut/green/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('ded7e7bfbccbd19d2ff0a87e12774c36bfd14b1a25bc2c65b2aa6f1a6e19af12f6f38c046097516ed6fb3675287dc9fe2be73718fd12fdaa160cda15b8952baa')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd green-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd green-$pkgver
-  ./g 3 -r -vvvv green
-}
-
-package() {
-  cd green-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-green/repos/community-any/PKGBUILD (from rev 1391512, 
python-green/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:03:23 UTC (rev 1391513)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-green
+pkgver=3.4.3
+_commit=9483a2ecfcde055898d244b1f6800a428f2864a3
+pkgrel=2
+pkgdesc="Green is a clean, colorful, fast python test runner"
+url="https://github.com/CleanCut/green";
+license=('MIT')
+arch=('any')
+depends=('python-colorama' 'python-coverage' 'python-unidecode' 'python-lxml')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-django' 'python-testtools')
+source=("git+https://github.com/CleanCut/green.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd green
+  python setup.py build
+}
+
+check() {
+  cd green
+  ./g 3 -r -vvvv green
+}
+
+package() {
+  cd green
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to