29 lines
822 B
Bash
29 lines
822 B
Bash
# Template file for 'python-pyenet'
|
|
pkgname=python-pyenet
|
|
version=1.3.13.post7
|
|
revision=1
|
|
wrksrc="pyenet-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python"
|
|
short_desc="Python wrapper for the ENet library"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/piqueserver/pyenet/"
|
|
distfiles="${PYPI_SITE}/p/pyenet/pyenet-${version}.tar.gz"
|
|
checksum=a36ed3ab9ddad25dc5416fa5223830f7f0ae628af986a4045def103057921ebf
|
|
nocross="compiles for the host architecture when cross-compiling"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pyenet_package() {
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|