void-packages/srcpkgs/python-pickleshare/template

32 lines
861 B
Bash

# Template file for 'python-pickleshare'
pkgname=python-pickleshare
version=0.7.5
revision=2
archs=noarch
wrksrc="pickleshare-${version}"
build_style=python-module
pycompile_module="pickleshare.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-pathlib2"
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=87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca
post_install() {
vlicense LICENSE
}
python3-pickleshare_package() {
archs=noarch
depends="python3"
pycompile_module="pickleshare.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}