[arch-commits] Commit in python-pygments/repos/community-any (PKGBUILD PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Wed Jul 22 14:28:02 UTC 2020
Date: Wednesday, July 22, 2020 @ 14:28:02
Author: diabonas
Revision: 664841
archrelease: copy trunk to community-any
Added:
python-pygments/repos/community-any/PKGBUILD
(from rev 664840, python-pygments/trunk/PKGBUILD)
Deleted:
python-pygments/repos/community-any/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-22 14:27:56 UTC (rev 664840)
+++ PKGBUILD 2020-07-22 14:28:02 UTC (rev 664841)
@@ -1,43 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Timm Preetz <timm at preetz.us>
-
-pkgname=python-pygments
-pkgver=2.6.1
-pkgrel=2
-pkgdesc="Python syntax highlighter"
-arch=('any')
-url="https://pygments.org/"
-license=('BSD')
-depends=('python-setuptools')
-makedepends=('python-sphinx')
-checkdepends=('python-pytest')
-provides=('pygmentize')
-conflicts=('pygmentize')
-replaces=('pygmentize')
-source=(https://pypi.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
-sha256sums=('647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44')
-
-build() {
- cd "$srcdir/Pygments-$pkgver"
- make -C doc html
-}
-
-check() {
- cd "$srcdir/Pygments-$pkgver"
- pytest
-}
-
-package() {
- cd "$srcdir/Pygments-$pkgver"
-
- python3 setup.py install --root="$pkgdir" -O1
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-
- mkdir -p "$pkgdir/usr/share/doc"
- cp -rT doc/_build/html "$pkgdir/usr/share/doc/$pkgname"
- install -Dm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1"
- install -Dm644 external/pygments.bashcomp \
- "$pkgdir/usr/share/bash-completion/completions/pygmentize"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pygments/repos/community-any/PKGBUILD (from rev 664840, python-pygments/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-22 14:28:02 UTC (rev 664841)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Timm Preetz <timm at preetz.us>
+
+pkgname=python-pygments
+pkgver=2.6.1
+pkgrel=3
+pkgdesc="Python syntax highlighter"
+arch=('any')
+url="https://pygments.org/"
+license=('BSD')
+depends=('python-setuptools')
+makedepends=('python-sphinx')
+checkdepends=('python-pytest')
+provides=('pygmentize')
+conflicts=('pygmentize')
+replaces=('pygmentize')
+source=(https://pypi.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
+sha256sums=('647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44')
+
+build() {
+ cd "$srcdir/Pygments-$pkgver"
+ export PYTHONHASHSEED=0
+ make -C doc html
+}
+
+check() {
+ cd "$srcdir/Pygments-$pkgver"
+ PYTHONDONTWRITEBYTECODE=1 pytest
+}
+
+package() {
+ cd "$srcdir/Pygments-$pkgver"
+
+ python3 setup.py install --root="$pkgdir" -O1
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+ mkdir -p "$pkgdir/usr/share/doc"
+ cp -rT doc/_build/html "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1"
+ install -Dm644 external/pygments.bashcomp \
+ "$pkgdir/usr/share/bash-completion/completions/pygmentize"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list