diff options
-rw-r--r-- | python/Pygments/Pygments.SlackBuild | 9 | ||||
-rw-r--r-- | python/Pygments/Pygments.info | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/python/Pygments/Pygments.SlackBuild b/python/Pygments/Pygments.SlackBuild index 45a4d1b4d7..793b64b80d 100644 --- a/python/Pygments/Pygments.SlackBuild +++ b/python/Pygments/Pygments.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Pygments -VERSION=${VERSION:-2.0.2} +VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -62,6 +62,11 @@ find -L . \ python setup.py install --prefix=/usr --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/man/man1 cp -a doc/pygmentize.1 $PKG/usr/man/man1 # Adapting to Slackware's directory layout diff --git a/python/Pygments/Pygments.info b/python/Pygments/Pygments.info index a5b81a1d29..0f97fb133a 100644 --- a/python/Pygments/Pygments.info +++ b/python/Pygments/Pygments.info @@ -1,8 +1,8 @@ PRGNAM="Pygments" -VERSION="2.0.2" +VERSION="2.1.3" HOMEPAGE="http://pygments.org/" -DOWNLOAD="http://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz" -MD5SUM="238587a1370d62405edabd0794b3ec4a" +DOWNLOAD="https://pypi.python.org/packages/b8/67/ab177979be1c81bc99c8d0592ef22d547e70bb4c6815c383286ed5dec504/Pygments-2.1.3.tar.gz" +MD5SUM="ed3fba2467c8afcda4d317e4ef2c6150" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |