summaryrefslogtreecommitdiff
path: root/user/py3-pygments/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-20 20:34:17 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-20 20:34:17 +0000
commit7114c88d032a38bfb0639dbc84d861445dd712de (patch)
tree1aa0c0aa7c044be49685c38e92c6baa94ab14368 /user/py3-pygments/APKBUILD
parenta9eea039176d779534b375bc1337bebfc6545a43 (diff)
downloadpackages-7114c88d032a38bfb0639dbc84d861445dd712de.tar.gz
packages-7114c88d032a38bfb0639dbc84d861445dd712de.tar.bz2
packages-7114c88d032a38bfb0639dbc84d861445dd712de.tar.xz
packages-7114c88d032a38bfb0639dbc84d861445dd712de.zip
user/py3-*: bump 10 unmaintained Python pkgs (Adopt us today)
Diffstat (limited to 'user/py3-pygments/APKBUILD')
-rw-r--r--user/py3-pygments/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/user/py3-pygments/APKBUILD b/user/py3-pygments/APKBUILD
index e68468221..81088c5d6 100644
--- a/user/py3-pygments/APKBUILD
+++ b/user/py3-pygments/APKBUILD
@@ -4,9 +4,9 @@
# Maintainer:
pkgname=py3-pygments
_pkgname=Pygments
-pkgver=2.2.0
+pkgver=2.4.2
pkgrel=0
-pkgdesc="A syntax highlighting package written in Python."
+pkgdesc="A syntax highlighting package written in Python"
url="http://pygments.org/"
arch="noarch"
options="!check" # needs nose, flake8
@@ -18,25 +18,21 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
# Reactivate once nose and flake8 are packaged
check() {
- cd "$builddir"
sed -i -e 's:python:python3:' Makefile
make test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
doc() {
- cd "$builddir"
install -m 644 -D doc/pygmentize.1 "$pkgdir"/usr/share/man/man1/pygmentize.1
}
-sha512sums="cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29 Pygments-2.2.0.tar.gz"
+sha512sums="c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66 Pygments-2.4.2.tar.gz"