00062f121c
Close #4544.
33 lines
917 B
Bash
33 lines
917 B
Bash
# Template file for 'python-pickleshare'
|
|
pkgname=python-pickleshare
|
|
version=0.7.3
|
|
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-pathlib2"
|
|
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"
|
|
checksum=b9710d01f777b1bf3b69c8f889b1d05a5145668f79e980cbd0f849e059edd274
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-pickleshare_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="pickleshare.py"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|