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