mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
New package: python-keepalive-0.5
This commit is contained in:
parent
0aaa3a0fe9
commit
c4d6f797dc
2 changed files with 29 additions and 0 deletions
28
srcpkgs/python-keepalive/template
Normal file
28
srcpkgs/python-keepalive/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'python-keepalive'
|
||||||
|
pkgname=python-keepalive
|
||||||
|
version=0.5
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python"
|
||||||
|
pycompile_module="keepalive"
|
||||||
|
short_desc="Python2 urllib keepalive support"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
homepage="https://github.com/wikier/keepalive"
|
||||||
|
license="LGPL-2.1"
|
||||||
|
distfiles="${PYPI_SITE}/k/keepalive/keepalive-0.5.tar.gz"
|
||||||
|
checksum=3c6b96f9062a5a76022f0c9d41e9ef5552d80b1cadd4fccc1bf8f183ba1d1ec1
|
||||||
|
|
||||||
|
python3.4-keepalive_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="keepalive"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-keepalive
Symbolic link
1
srcpkgs/python3.4-keepalive
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-keepalive
|
Loading…
Add table
Reference in a new issue