a42f75539e
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'python-pickleshare'
|
|
pkgname=python-pickleshare
|
|
version=0.7.4
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="pickleshare-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-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=84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pickleshare_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="pickleshare.py"
|
|
replaces="python3.4-pickleshare>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-pickleshare_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-pickleshare>=${version}_${revision}"
|
|
}
|