[arch-commits] Commit in python-docutils/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 19:14:16 UTC 2021
Date: Tuesday, November 30, 2021 @ 19:14:16
Author: foutrelis
Revision: 1057899
archrelease: copy trunk to community-staging-any
Added:
python-docutils/repos/community-staging-any/PKGBUILD
(from rev 1057898, python-docutils/trunk/PKGBUILD)
Deleted:
python-docutils/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-30 19:14:12 UTC (rev 1057898)
+++ PKGBUILD 2021-11-30 19:14:16 UTC (rev 1057899)
@@ -1,44 +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.17.1
-pkgrel=4
-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=('5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b')
-
-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-staging-any/PKGBUILD (from rev 1057898, python-docutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-30 19:14:16 UTC (rev 1057899)
@@ -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.16
+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=('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:
More information about the arch-commits
mailing list