[arch-commits] Commit in python-pygments/repos/community-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Aug 15 22:34:03 UTC 2021
Date: Sunday, August 15, 2021 @ 22:34:03
Author: foutrelis
Revision: 999509
archrelease: copy trunk to community-any
Added:
python-pygments/repos/community-any/PKGBUILD
(from rev 999508, python-pygments/trunk/PKGBUILD)
Deleted:
python-pygments/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-15 22:33:55 UTC (rev 999508)
+++ PKGBUILD 2021-08-15 22:34:03 UTC (rev 999509)
@@ -1,44 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Timm Preetz <timm at preetz.us>
-
-pkgname=python-pygments
-pkgver=2.9.0
-pkgrel=1
-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=('a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f')
-
-build() {
- cd "$srcdir/Pygments-$pkgver"
- make -C doc html
-}
-
-check() {
- cd "$srcdir/Pygments-$pkgver"
- PYTHONDONTWRITEBYTECODE=1 pytest
-}
-
-package() {
- cd "$srcdir/Pygments-$pkgver"
-
- export PYTHONHASHSEED=0
- 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 999508, python-pygments/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-15 22:34:03 UTC (rev 999509)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Timm Preetz <timm at preetz.us>
+
+pkgname=python-pygments
+pkgver=2.10.0
+pkgrel=1
+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=('f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6')
+
+build() {
+ cd "$srcdir/Pygments-$pkgver"
+ make -C doc html
+}
+
+check() {
+ cd "$srcdir/Pygments-$pkgver"
+ PYTHONDONTWRITEBYTECODE=1 pytest
+}
+
+package() {
+ cd "$srcdir/Pygments-$pkgver"
+
+ export PYTHONHASHSEED=0
+ 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