[arch-commits] Commit in docutils/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Tue Jun 22 23:23:07 UTC 2021
Date: Tuesday, June 22, 2021 @ 23:23:06
Author: polyzen
Revision: 966956
upgpkg: docutils 0.17.1-1
Modified:
docutils/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-22 22:32:37 UTC (rev 966955)
+++ PKGBUILD 2021-06-22 23:23:06 UTC (rev 966956)
@@ -1,10 +1,12 @@
-# Maintainer: Sébastien Luttringer
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Sébastien Luttringer
# Contributor : Ionut Biru <ibiru at archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
pkgbase=docutils
pkgname=('python-docutils' 'python2-docutils')
-pkgver=0.17
+pkgver=0.17.1
pkgrel=1
pkgdesc='Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX'
arch=('any')
@@ -12,15 +14,15 @@
license=('custom')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver.tar.gz")
-sha512sums=('e99886dc6420f6325426ebbe0d1528249592e372fe2a052548c9cd9c2fd87506cc8b74384a3cf4afb97a1d936a906e157e084785639aad59c4abbc672c33b689')
+sha512sums=('5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b')
build() {
cd $pkgbase-$pkgver
- msg2 python3
+ echo 'Python3 build'
python3 setup.py build --build-lib=build/python
find build/python -type f -exec \
sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python3,' {} \;
- msg2 python2
+ echo 'Python2 build'
python2 setup.py build --build-lib=build/python2
find build/python2 -type f -exec \
sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
@@ -30,10 +32,9 @@
cd $pkgbase-$pkgver
# we need utf locale to valid utf8 tests
export LANG=en_US.UTF-8
- # Disable python3 check
- #msg2 'python checks'
- #PYTHONPATH="$PWD/build/python/" python3 test3/alltests.py
- msg2 'python2 checks'
+ echo 'Python3 checks'
+ PYTHONPATH="$PWD/build/python/" python3 test/alltests.py
+ echo 'Python2 checks'
PYTHONPATH="$PWD/build/python2/" python2 test/alltests.py
}
More information about the arch-commits
mailing list