[arch-commits] Commit in python-docutils/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon May 30 19:24:30 UTC 2022
Date: Monday, May 30, 2022 @ 19:24:29
Author: polyzen
Revision: 1216866
archrelease: copy trunk to community-any
Added:
python-docutils/repos/community-any/PKGBUILD
(from rev 1216865, python-docutils/trunk/PKGBUILD)
Deleted:
python-docutils/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-30 19:24:04 UTC (rev 1216865)
+++ PKGBUILD 2022-05-30 19:24:29 UTC (rev 1216866)
@@ -1,45 +0,0 @@
-# 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>
-
-_name=docutils
-pkgname=python-docutils
-pkgver=0.16
-pkgrel=2
-epoch=1
-pkgdesc='Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX'
-arch=('any')
-url='http://docutils.sourceforge.net'
-license=('custom')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://downloads.sourceforge.net/$_name/$_name-$pkgver.tar.gz")
-sha512sums=('1a4e1bdedc79388e73dd438ae6d4d2ba67a005c745613452e027c0f6b378058b528f3329d650454fc0d3dd5253a1eb95dc52b35846cbfb4d8618d9bd4c3ad934')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_name-$pkgver
- # we need utf locale to valid utf8 tests
- export LANG=en_US.UTF-8
- PYTHONPATH="$PWD/build/python/" python test/alltests.py
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py build install --root="$pkgdir" --optimize=1
- # symlink without .py
- for f in "$pkgdir"/usr/bin/*.py; do
- ln -s "$(basename $f)" "$pkgdir/usr/bin/$(basename $f .py)"
- done
- # setup license
- install -D -m644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
- install -D -m644 licenses/python* "$pkgdir/usr/share/licenses/$pkgname/"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-docutils/repos/community-any/PKGBUILD (from rev 1216865, python-docutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-30 19:24:29 UTC (rev 1216866)
@@ -0,0 +1,45 @@
+# 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>
+
+_name=docutils
+pkgname=python-docutils
+pkgver=0.18.1
+pkgrel=1
+epoch=1
+pkgdesc='Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX'
+arch=('any')
+url='http://docutils.sourceforge.net'
+license=('custom')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://downloads.sourceforge.net/$_name/$_name-$pkgver.tar.gz")
+sha512sums=('44404a6cc9d4c1e79c73a6ffee2898e459c9925ab9661e5d41394e13b3d861334cf0c5efcd18e87eb03041374e326cfd00539a6b2ec5979678889e8a536c9542')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ # we need utf locale to valid utf8 tests
+ export LANG=en_US.UTF-8
+ PYTHONPATH="$PWD/build/python/" python test/alltests.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py build install --root="$pkgdir" --optimize=1
+ # symlink without .py
+ for f in "$pkgdir"/usr/bin/*.py; do
+ ln -s "$(basename $f)" "$pkgdir/usr/bin/$(basename $f .py)"
+ done
+ # setup license
+ install -D -m644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
+ install -D -m644 licenses/python* "$pkgdir/usr/share/licenses/$pkgname/"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list