[arch-commits] Commit in python-blessings/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue May 12 21:20:48 UTC 2020


    Date: Tuesday, May 12, 2020 @ 21:20:47
  Author: jelle
Revision: 627240

Remove unused python2 module

Modified:
  python-blessings/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 21:16:46 UTC (rev 627239)
+++ PKGBUILD	2020-05-12 21:20:47 UTC (rev 627240)
@@ -1,36 +1,22 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 # Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
 
-pkgbase=python-blessings
-pkgname=(python-blessings python2-blessings)
+pkgname=python-blessings
 _pkgname=blessings
 pkgver=1.7
-pkgrel=4
+pkgrel=5
 pkgdesc="A thin, practical wrapper around terminal coloring, styling, and positioning"
 url="https://github.com/erikrose/blessings"
 arch=('any')
 license=('MIT')
 depends=('python')
-makedepends=('python-distribute' 'python2-distribute')
+makedepends=('python-distribute')
 #options=(!emptydirs)
 source=("https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz")
 md5sums=('38555a2bba0ace706aec58444368e022')
 
-prepare() {
-  cd "$srcdir"
-  cp -r blessings-$pkgver blessings2-$pkgver
-}
-
-package_python-blessings() {
+package() {
   cd "$srcdir/blessings-$pkgver"
   python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-blessings/LICENSE"
 }
-
-package_python2-blessings() {
-  depends=('python2')
-  cd "$srcdir/blessings2-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-blessings/LICENSE"
-}
-



More information about the arch-commits mailing list