From a029be8175136a9af568d0d8b85273f14650e810 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 2 Jul 2015 12:35:03 +0200 Subject: [PATCH] python-serpent: fix pycompile_module; misc tweaks Set homepage to PyPI to fix update-check. --- srcpkgs/python-serpent/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python-serpent/template b/srcpkgs/python-serpent/template index 085b4cbd85a..4c0314a2d57 100644 --- a/srcpkgs/python-serpent/template +++ b/srcpkgs/python-serpent/template @@ -1,27 +1,26 @@ # Template file for 'python-serpent' pkgname=python-serpent version=1.11 -revision=1 +revision=2 wrksrc="${pkgname#*-}-${version}" -noarch="yes" +noarch=yes build_style=python-module python_versions="2.7 3.4" -pycompile_module="serpent" +pycompile_module="serpent.py" hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python python3.4" depends="python" -short_desc="Serialization based on ast.literal_eva" +short_desc="Serialization library based on ast.literal_eval (Python2)" maintainer="pulux " license="MIT" -homepage="https://github.com/irmen/Serpent" +homepage="https://pypi.python.org/pypi/serpent" distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz" checksum=ab5df8f28574552bdbaf8d3774e6d0faff62f0aa6d5e6bb33b6b0c46937001ad python3.4-serpent_package() { - noarch="yes" + noarch=yes depends="python3.4" pycompile_version="3.4" - pycompile="serpent" + pycompile="serpent.py" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4