diff --git a/srcpkgs/python-pyenet/template b/srcpkgs/python-pyenet/template new file mode 100644 index 00000000000..7836b1d877f --- /dev/null +++ b/srcpkgs/python-pyenet/template @@ -0,0 +1,28 @@ +# 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 " +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 + } +} diff --git a/srcpkgs/python3-pyenet b/srcpkgs/python3-pyenet new file mode 120000 index 00000000000..190b82c726a --- /dev/null +++ b/srcpkgs/python3-pyenet @@ -0,0 +1 @@ +python-pyenet \ No newline at end of file