[arch-commits] Commit in python-translationstring/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Dec 17 20:14:12 UTC 2019
Date: Tuesday, December 17, 2019 @ 20:14:11
Author: jelle
Revision: 537956
upgpkg: python-translationstring 1.3-6
remove python2 module.
Modified:
python-translationstring/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++----------------------
1 file changed, 6 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-17 20:11:52 UTC (rev 537955)
+++ PKGBUILD 2019-12-17 20:14:11 UTC (rev 537956)
@@ -1,15 +1,15 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-translationstring
-pkgname=('python-translationstring' 'python2-translationstring')
+pkgname=python-translationstring
pkgver=1.3
-pkgrel=5
+pkgrel=6
pkgdesc="Utility library for i18n relied on by various Repoze and Pyramid packages"
arch=('any')
license=('custom:BSD')
url="https://github.com/Pylons/translationstring"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
+depends=('python')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-nose')
source=("git+https://github.com/Pylons/translationstring.git#tag=$pkgver")
sha512sums=('SKIP')
@@ -20,31 +20,15 @@
build() {
cd "$srcdir/translationstring"
python setup.py build
-
- cd "$srcdir/translationstring-py2"
- python2 setup.py build
}
check() {
cd "$srcdir/translationstring"
nosetests3
-
- cd "$srcdir/translationstring-py2"
- nosetests2
}
-package_python-translationstring() {
- depends=('python')
-
+package() {
cd translationstring
python setup.py install --root="${pkgdir}" --optimize=1
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
-
-package_python2-translationstring() {
- depends=('python2')
-
- cd translationstring-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
More information about the arch-commits
mailing list