[arch-commits] Commit in python-clint/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Dec 18 21:39:30 UTC 2019
Date: Wednesday, December 18, 2019 @ 21:39:30
Author: arojas
Revision: 538225
Drop python2
Modified:
python-clint/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-18 21:35:46 UTC (rev 538224)
+++ PKGBUILD 2019-12-18 21:39:30 UTC (rev 538225)
@@ -1,7 +1,6 @@
# Maintainer: Alexander F Rødseth <rodseth at gmail.com>
-pkgbase=python-clint
-pkgname=(python-clint python2-clint)
+pkgname=python-clint
pkgver=0.5.1
pkgrel=8
pkgdesc='Module for developing command line applications'
@@ -8,17 +7,11 @@
arch=('any')
url='https://pypi.python.org/pypi/clint/'
license=('custom:ISC')
-makedepends=('python' 'python2')
+depends=('python')
source=("https://pypi.python.org/packages/source/c/clint/clint-$pkgver.tar.gz")
sha256sums=('05224c32b1075563d0b16d0015faaf9da43aa214e4a2140e51f08789e7a4c5aa')
-prepare() {
- cp -a clint-$pkgver{,-py2}
-}
-
-package_python-clint() {
- depends=('python')
-
+package() {
cd "clint-$pkgver"
python setup.py install \
@@ -26,14 +19,4 @@
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-package_python2-clint() {
- depends=('python2')
-
- cd "clint-$pkgver-py2"
-
- python2 setup.py install \
- --install-data="/usr/share/doc/$pkgname" --root="$pkgdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list