void-packages/srcpkgs/python-pickleshare/template

33 lines
908 B
Bash
Raw Normal View History

2015-12-02 11:55:05 +00:00
# Template file for 'python-pickleshare'
pkgname=python-pickleshare
2016-01-21 11:19:56 +00:00
version=0.6
2015-12-02 11:55:05 +00:00
revision=1
noarch=yes
wrksrc="pickleshare-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-path"
pycompile_module="pickleshare.py"
short_desc="Small shelve-like datastore with concurrency support (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pickleshare/pickleshare"
license="MIT"
distfiles="${PYPI_SITE}/p/pickleshare/pickleshare-${version}.tar.gz"
2016-01-21 11:19:56 +00:00
checksum=2e6064fc69561192f41997ee027336bb0d2e5126f370c9bd250a1050b903ded3
2015-12-02 11:55:05 +00:00
pre_build() {
sed -i '/^#!/d' pickleshare.py
}
python3.4-pickleshare_package() {
noarch=yes
depends="python3.4-path"
pycompile_version="3.4"
pycompile_module="pickleshare.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}