diff --git a/srcpkgs/python-random2/template b/srcpkgs/python-random2/template new file mode 100644 index 0000000000..4c6a0f8e06 --- /dev/null +++ b/srcpkgs/python-random2/template @@ -0,0 +1,23 @@ +# Template file for 'python-random2' +pkgname=python-random2 +version=1.0.1 +revision=1 +wrksrc=random2-${version} +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools unzip" +depends="python-setuptools" +short_desc="Python 3 compatible Python 2 random Module" +maintainer="Wilson Birney " +license="Python 2.1.1" +homepage="https://pypi.python.org/pypi/random2" +distfiles="${PYPI_SITE}/r/random2/random2-1.0.1.zip" +checksum=34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007 +noarch=yes + +python3-random2_package() { + noarch=yes + depends="python3-setuptools" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-random2 b/srcpkgs/python3-random2 new file mode 120000 index 0000000000..8aa0d4c4b4 --- /dev/null +++ b/srcpkgs/python3-random2 @@ -0,0 +1 @@ +python-random2 \ No newline at end of file