[arch-commits] Commit in python-colorama/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 29 19:17:43 UTC 2021


    Date: Monday, November 29, 2021 @ 19:17:42
  Author: arojas
Revision: 1057594

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++---------------------------------------
 1 file changed, 32 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:17:33 UTC (rev 1057593)
+++ PKGBUILD	2021-11-29 19:17:42 UTC (rev 1057594)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Alexander Duscheleit <jinks at archlinux.us>
-
-pkgbase=python-colorama
-pkgname=('python-colorama' 'python2-colorama')
-pkgver=0.4.4
-pkgrel=3
-pkgdesc="Python API for cross-platform colored terminal text."
-arch=('any')
-url="https://pypi.python.org/pypi/colorama"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tartley/colorama/archive/$pkgver.tar.gz")
-sha512sums=('35501915b79bfc5fe46a36f83790ecd79c82150d6b73a57cd55fbe6431ea5ed7a86676504af90147eeb3a963ffd16890e0220099df579a66f2d8f1f7494f862e')
-
-prepare() {
-  cp -a colorama-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/colorama-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/colorama-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/colorama-$pkgver
-  python -m unittest discover -p *_test.py || echo "Tests failed"
-
-  cd "$srcdir"/colorama-$pkgver-py2
-  python2 -m unittest discover -p *_test.py || echo "Tests failed"
-}
-
-package_python-colorama() {
-  depends=('python')
-
-  cd colorama-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-colorama() {
-  depends=('python2')
-
-  cd colorama-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-colorama/repos/community-any/PKGBUILD (from rev 1057593, python-colorama/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 19:17:42 UTC (rev 1057594)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Duscheleit <jinks at archlinux.us>
+
+pkgname=python-colorama
+pkgver=0.4.4
+pkgrel=4
+pkgdesc="Python API for cross-platform colored terminal text."
+arch=('any')
+url="https://pypi.python.org/pypi/colorama"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tartley/colorama/archive/$pkgver.tar.gz")
+sha512sums=('35501915b79bfc5fe46a36f83790ecd79c82150d6b73a57cd55fbe6431ea5ed7a86676504af90147eeb3a963ffd16890e0220099df579a66f2d8f1f7494f862e')
+
+build() {
+  cd "$srcdir"/colorama-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/colorama-$pkgver
+  python -m unittest discover -p *_test.py || echo "Tests failed"
+}
+
+package() {
+  cd colorama-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list