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

Maxime Gauduin alucryd at archlinux.org
Thu Jun 28 12:48:25 UTC 2018


    Date: Thursday, June 28, 2018 @ 12:48:25
  Author: alucryd
Revision: 346681

upgpkg: python-blessed 1.15.0-1

Modified:
  python-blessed/trunk/PKGBUILD

----------+
 PKGBUILD |   41 ++++++++++++-----------------------------
 1 file changed, 12 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-28 12:47:59 UTC (rev 346680)
+++ PKGBUILD	2018-06-28 12:48:25 UTC (rev 346681)
@@ -2,44 +2,27 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: Tatsuyuki Ishi <ishitatsuyuki at gmail.com>
 
-pkgbase=python-blessed
-pkgname=('python-blessed' 'python2-blessed')
-pkgver=1.14.2
-pkgrel=2
+pkgname=python-blessed
+pkgver=1.15.0
+pkgrel=1
 pkgdesc='A thin, practical wrapper around terminal styling, screen positioning, and keyboard input'
 arch=('any')
 url='https://github.com/jquast/blessed'
 license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("python-blessed-${pkgver}.tar.gz::https://github.com/jquast/blessed/archive/${pkgver}.tar.gz")
-sha256sums=('6c375f28e8a4d85d03dd46e3dd058a9cd2279d51da018bca0c0f6b5d98b1ee34')
+depends=('python-six' 'python-wcwidth')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/b/blessed/blessed-${pkgver}.tar.gz")
+sha256sums=('777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21')
 
-prepare() {
-  cp -r {,python-}blessed-${pkgver}
-  mv {,python2-}blessed-${pkgver}
-}
-
 build() {
-  for py in python{,2}; do
-    pushd ${py}-blessed-${pkgver}
-    ${py} setup.py build
-    popd
-  done
-}
-package_python-blessed() {
-  depends=('python-six' 'python-wcwidth')
+  cd blessed-${pkgver}
 
-  cd python-blessed-${pkgver}
-
-  python setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
+  python setup.py build
 }
+package() {
+  cd blessed-${pkgver}
 
-package_python2-blessed() {
-  depends=('python2-six' 'python2-wcwidth')
-
-  cd python2-blessed-${pkgver}
-
-  python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
+  python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list