mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
python-cssselect: update to 0.9.2
This commit is contained in:
parent
f1bc3628e0
commit
97fd2add13
1 changed files with 9 additions and 9 deletions
|
@ -1,24 +1,23 @@
|
||||||
# Template file for 'python-cssselect'
|
# Template file for 'python-cssselect'
|
||||||
pkgname=python-cssselect
|
pkgname=python-cssselect
|
||||||
version=0.9.1
|
version=0.9.2
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style="python-module"
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="python-devel python3.4-devel"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="cssselect"
|
pycompile_module="cssselect"
|
||||||
short_desc="CSS selectors for Python2"
|
short_desc="CSS selectors for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://pypi.python.org/pypi/cssselect"
|
homepage="https://pythonhosted.org/cssselect/"
|
||||||
license="BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
|
||||||
checksum=0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682
|
checksum=713b5b99ef08022257b3409c7ae1b18b2c6536b3f155e6237c5cfba0f67ae6f5
|
||||||
|
|
||||||
pre_install() {
|
post_install() {
|
||||||
sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/cssselect/tests.py
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-cssselect_package() {
|
python3.4-cssselect_package() {
|
||||||
|
@ -29,5 +28,6 @@ python3.4-cssselect_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue