[arch-commits] Commit in python-crayons/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 17 10:26:54 UTC 2019
Date: Sunday, March 17, 2019 @ 10:26:53
Author: felixonmars
Revision: 442337
archrelease: copy trunk to community-any
Added:
python-crayons/repos/community-any/PKGBUILD
(from rev 442336, python-crayons/trunk/PKGBUILD)
Deleted:
python-crayons/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 +++++++++++++++++++++----------------------------------------
1 file changed, 24 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-17 10:26:35 UTC (rev 442336)
+++ PKGBUILD 2019-03-17 10:26:53 UTC (rev 442337)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-crayons
-pkgname=('python-crayons' 'python2-crayons')
-pkgver=0.2.0
-pkgrel=1
-pkgdesc='TextUI colors for Python'
-arch=('any')
-license=('MIT')
-url='https://github.com/kennethreitz/crayons'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-colorama' 'python2-colorama')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/crayons/archive/v$pkgver.tar.gz")
-sha512sums=('6fc3798c8f389adff7292d20de301e4393ea133db07b63b76a1cdc657e1e114144257081511294c3b924f653e21379526b564dd715174a9c6f16ba17152b665d')
-
-prepare() {
- cp -a crayons-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/crayons-$pkgver
- python setup.py build
-
- cd "$srcdir"/crayons-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-crayons() {
- depends=('python-colorama')
-
- cd crayons-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- # install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-crayons() {
- depends=('python2-colorama')
-
- cd crayons-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- # install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-crayons/repos/community-any/PKGBUILD (from rev 442336, python-crayons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-17 10:26:53 UTC (rev 442337)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-crayons
+pkgver=0.2.0
+pkgrel=2
+pkgdesc='TextUI colors for Python'
+arch=('any')
+license=('MIT')
+url='https://github.com/kennethreitz/crayons'
+depends=('python-colorama')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kennethreitz/crayons/archive/v$pkgver.tar.gz")
+sha512sums=('6fc3798c8f389adff7292d20de301e4393ea133db07b63b76a1cdc657e1e114144257081511294c3b924f653e21379526b564dd715174a9c6f16ba17152b665d')
+
+build() {
+ cd crayons-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd crayons-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ # install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list