From 97fd2add13a59306929171196a39a56ddd95cefc Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 16 Jun 2016 23:19:02 +0200 Subject: [PATCH] python-cssselect: update to 0.9.2 --- srcpkgs/python-cssselect/template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python-cssselect/template b/srcpkgs/python-cssselect/template index 5c44b9e4bb..1e9be89f33 100644 --- a/srcpkgs/python-cssselect/template +++ b/srcpkgs/python-cssselect/template @@ -1,24 +1,23 @@ # Template file for 'python-cssselect' pkgname=python-cssselect -version=0.9.1 +version=0.9.2 revision=1 noarch=yes wrksrc="${pkgname#*-}-${version}" -build_style="python-module" +build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" depends="python" pycompile_module="cssselect" short_desc="CSS selectors for Python2" -maintainer="Alessio Sergi " -homepage="https://pypi.python.org/pypi/cssselect" -license="BSD" +maintainer="Juan RP " +homepage="https://pythonhosted.org/cssselect/" +license="3-clause-BSD" distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" -checksum=0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682 +checksum=713b5b99ef08022257b3409c7ae1b18b2c6536b3f155e6237c5cfba0f67ae6f5 -pre_install() { - sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/cssselect/tests.py +post_install() { + vlicense LICENSE } python3.4-cssselect_package() { @@ -29,5 +28,6 @@ python3.4-cssselect_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 + vlicense LICENSE } }