From 3dce86a73d938af60f9dc214817246fb3f7c86a6 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Wed, 7 Feb 2018 20:08:03 +0100 Subject: [PATCH] New package: python-pyenet-1.3.13.post6 --- srcpkgs/python-pyenet/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3-pyenet | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-pyenet/template create mode 120000 srcpkgs/python3-pyenet diff --git a/srcpkgs/python-pyenet/template b/srcpkgs/python-pyenet/template new file mode 100644 index 0000000000..7836b1d877 --- /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 0000000000..190b82c726 --- /dev/null +++ b/srcpkgs/python3-pyenet @@ -0,0 +1 @@ +python-pyenet \ No newline at end of file