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

Levente Polyak anthraxx at archlinux.org
Wed Nov 27 23:17:17 UTC 2019


    Date: Wednesday, November 27, 2019 @ 23:17:17
  Author: anthraxx
Revision: 369855

upgpkg: python-urwid 2.1.0-1

Modified:
  python-urwid/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-27 22:43:34 UTC (rev 369854)
+++ PKGBUILD	2019-11-27 23:17:17 UTC (rev 369855)
@@ -5,15 +5,16 @@
 
 pkgbase=python-urwid
 pkgname=('python-urwid' 'python2-urwid')
-pkgver=2.0.1
-pkgrel=4
+pkgver=2.1.0
+pkgrel=1
 pkgdesc='Curses-based user interface library'
 url='http://excess.org/urwid/'
 arch=('x86_64')
 license=('LGPL')
 makedepends=('glibc' 'python-setuptools' 'python2-setuptools')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/urwid/urwid/archive/release-${pkgver}.tar.gz)
-sha512sums=('9dbb868e7111ad35be84db3bea6df8cd3fc2b71cd93755d481863c2e0e262a757193e776a1edc1478996876895e2519510a160c2434a115f425a91601fdcc833')
+source=(https://github.com/urwid/urwid/archive/release-${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2f35d3416f85c6ad3247fc37af450b342466827d8256512f4d28064c0020bca0')
+sha512sums=('14267d1076e51ef53dc187dc1395e9f4d968bc1019c2fc2209143eb29b9b138a378116fae30645f1183b2378ffe43ee3491de6181a51699f933970385012abe1')
 
 prepare() {
   cp -a urwid-release-${pkgver}{,-py2}
@@ -42,6 +43,7 @@
   depends=('python' 'glibc')
   cd urwid-release-${pkgver}
   python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
+  rm -r "${pkgdir}"/usr/lib/python*/site-packages/urwid/tests
 }
 
 package_python2-urwid() {
@@ -48,6 +50,7 @@
   depends=('python2' 'glibc')
   cd urwid-release-${pkgver}-py2
   python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
+  rm -r "${pkgdir}"/usr/lib/python*/site-packages/urwid/tests
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list