[arch-commits] Commit in python-colorama/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 15 17:29:51 UTC 2020
Date: Thursday, October 15, 2020 @ 17:29:51
Author: felixonmars
Revision: 724208
archrelease: copy trunk to community-any
Added:
python-colorama/repos/community-any/PKGBUILD
(from rev 724207, python-colorama/trunk/PKGBUILD)
Deleted:
python-colorama/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-15 17:29:45 UTC (rev 724207)
+++ PKGBUILD 2020-10-15 17:29:51 UTC (rev 724208)
@@ -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.3
-pkgrel=1
-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=('ab41a2f95fe75de0b280c174c6166b86645e5cc675dcedf784fe15170aae630e831370527c9490342b77c7d088a023a48428a519b52ad1c70be58904742a94c8')
-
-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 || warning "Tests failed"
-
- cd "$srcdir"/colorama-$pkgver-py2
- python2 -m unittest discover -p *_test.py || warning "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 724207, python-colorama/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-15 17:29:51 UTC (rev 724208)
@@ -0,0 +1,55 @@
+# 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=1
+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 || warning "Tests failed"
+
+ cd "$srcdir"/colorama-$pkgver-py2
+ python2 -m unittest discover -p *_test.py || warning "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:
More information about the arch-commits
mailing list