[arch-commits] Commit in python-urwid/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:50:36 UTC 2020
Date: Monday, November 9, 2020 @ 15:50:36
Author: felixonmars
Revision: 399763
archrelease: copy trunk to staging-x86_64
Added:
python-urwid/repos/staging-x86_64/
python-urwid/repos/staging-x86_64/PKGBUILD
(from rev 399762, python-urwid/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-urwid/repos/staging-x86_64/PKGBUILD (from rev 399762, python-urwid/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-09 15:50:36 UTC (rev 399763)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+
+pkgname=python-urwid
+pkgver=2.1.1
+pkgrel=2
+pkgdesc='Curses-based user interface library'
+url='http://excess.org/urwid/'
+arch=('x86_64')
+license=('LGPL')
+depends=('python' 'glibc')
+makedepends=('glibc' 'python-setuptools')
+source=(https://github.com/urwid/urwid/archive/release-${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('06fc11e62083f0de2ae8525d278bd5ca7f06bcf10773e299812ab5f617f8bd50')
+sha512sums=('6ab861c02edff37e31b1a5b138e71abf978f8ef9a54e0993b740ec62c0986ce1e25c2421a4a4b0d428a8cd64970496b23790074c911b6e4990b3d821a3bf2b4c')
+
+build() {
+ (cd urwid-release-${pkgver}
+ python setup.py build
+ )
+}
+
+check() {
+ (cd urwid-release-${pkgver}
+ python setup.py test
+ )
+}
+
+package() {
+ 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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list