python-msgpack: drop package
This commit is contained in:
parent
6ed3afbc6d
commit
938f2e0859
3 changed files with 19 additions and 28 deletions
|
@ -1,27 +0,0 @@
|
||||||
# Template file for 'python-msgpack'
|
|
||||||
pkgname=python-msgpack
|
|
||||||
version=1.0.0
|
|
||||||
revision=2
|
|
||||||
wrksrc="msgpack-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
makedepends="python-devel python3-devel"
|
|
||||||
checkdepends="python-pytest python3-pytest"
|
|
||||||
short_desc="Python module for Msgpack serializer (Python2)"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="Apache-2.0"
|
|
||||||
homepage="https://msgpack.org/"
|
|
||||||
distfiles="${PYPI_SITE}/m/msgpack/msgpack-${version}.tar.gz"
|
|
||||||
checksum=9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
PYTHONPATH=$(pwd)/build-$py2_ver/lib python2 -m pytest
|
|
||||||
PYTHONPATH=$(pwd)/build-$py3_ver/lib python3 -m pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-msgpack_package() {
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-msgpack
|
|
19
srcpkgs/python3-msgpack/template
Normal file
19
srcpkgs/python3-msgpack/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-msgpack'
|
||||||
|
pkgname=python3-msgpack
|
||||||
|
version=1.0.0
|
||||||
|
revision=3
|
||||||
|
wrksrc="msgpack-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
makedepends="python3-devel"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
|
short_desc="Python module for Msgpack serializer (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://msgpack.org/"
|
||||||
|
distfiles="${PYPI_SITE}/m/msgpack/msgpack-${version}.tar.gz"
|
||||||
|
checksum=9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
PYTHONPATH=$PWD/build/lib python3 -m pytest
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue