New package: python-pickleshare-0.5
This commit is contained in:
parent
5ebebdb9af
commit
154e5b6451
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-pickleshare/template
Normal file
32
srcpkgs/python-pickleshare/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-pickleshare'
|
||||||
|
pkgname=python-pickleshare
|
||||||
|
version=0.5
|
||||||
|
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"
|
||||||
|
checksum=c0be5745035d437dbf55a96f60b7712345b12423f7d0951bd7d8dc2141ca9286
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-pickleshare
Symbolic link
1
srcpkgs/python3.4-pickleshare
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pickleshare
|
Loading…
Add table
Add a link
Reference in a new issue