diff --git a/srcpkgs/python-IPy/template b/srcpkgs/python-IPy/template new file mode 100644 index 0000000000..967c889234 --- /dev/null +++ b/srcpkgs/python-IPy/template @@ -0,0 +1,31 @@ +# Template file for 'python-IPy' +pkgname=python-IPy +version=0.83 +revision=1 +build_style=python-module +noarch=yes +pycompile_module="IPy.py" +wrksrc="IPy-${version}" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 class for handling of IPv4 and IPv6 addresses and networks" +maintainer="johannes " +license="BSD" +homepage="https://github.com/autocracy/python-ipy" +distfiles="${PYPI_SITE}/I/IPy/IPy-${version}.tar.gz" +checksum=61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8 + +post_install() { + vlicense COPYING +} + +python3-IPy_package() { + short_desc="${short_desc/Python2/Python3}" + noarch=yes + pycompile_module="IPy.py" + depends="python3" + pkg_install() { + vmove usr/lib/python3* + vlicense COPYING + } +} diff --git a/srcpkgs/python-ripe-atlas-cousteau/template b/srcpkgs/python-ripe-atlas-cousteau/template new file mode 100644 index 0000000000..314ec26b68 --- /dev/null +++ b/srcpkgs/python-ripe-atlas-cousteau/template @@ -0,0 +1,26 @@ +# Template file for 'python-ripe-atlas-cousteau' +pkgname=python-ripe-atlas-cousteau +version=1.3 +revision=1 +build_style=python-module +noarch=yes +pycompile_module="ripe/atlas/cousteau" +wrksrc="ripe-atlas-cousteau-${version}" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-dateutil python-socketIO-client" +short_desc="Python2 wrapper around RIPE ATLAS API" +maintainer="johannes " +license="GPL-3" +homepage="https://github.com/RIPE-NCC/ripe-atlas-cousteau" +distfiles="https://github.com/RIPE-NCC/ripe-atlas-cousteau/archive/v${version}.tar.gz" +checksum=d18ae2648f0fa685d47efee1a0dc03a9125f6e68e77289ca221c0509b1c53bbd + +python3-ripe-atlas-cousteau_package() { + short_desc="${short_desc/Python2/Python3}" + noarch=yes + pycompile_module="ripe/atlas/cousteau" + depends="python3-requests python3-dateutil python3-socketIO-client" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python-ripe-atlas-sagan/template b/srcpkgs/python-ripe-atlas-sagan/template new file mode 100644 index 0000000000..8b4c4f661a --- /dev/null +++ b/srcpkgs/python-ripe-atlas-sagan/template @@ -0,0 +1,26 @@ +# Template file for 'ripe-atlas-sagan' +pkgname=python-ripe-atlas-sagan +version=1.1.11 +revision=1 +noarch=yes +pycompile_module="ripe/atlas/sagan" +wrksrc="ripe.atlas.sagan-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python-dateutil python-pytz python-openssl" +short_desc="Python2 parsing library for RIPE Atlas measurement results" +maintainer="johannes " +license="GPL-3" +homepage="https://github.com/RIPE-NCC/ripe.atlas.sagan" +distfiles="https://github.com/RIPE-NCC/ripe.atlas.sagan/archive/v${version}.tar.gz" +checksum=9d84c8346366e344b081a95cae684d397e1a8d0cb9be6bb0c3190e5f813ef869 + +python3-ripe-atlas-sagan_package() { + depends="python3-dateutil python3-pytz python3-openssl" + noarch=yes + pycompile_module="ripe/atlas/sagan" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python-socketIO-client/template b/srcpkgs/python-socketIO-client/template new file mode 100644 index 0000000000..9d0995b3f4 --- /dev/null +++ b/srcpkgs/python-socketIO-client/template @@ -0,0 +1,31 @@ +# Template file for 'python-socketIO-client' +pkgname=python-socketIO-client +version=0.7.2 +revision=1 +noarch=yes +build_style=python-module +pycompile_module="socketIO_client" +wrksrc="socketIO-client-${version}" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-six python-websocket-client" +short_desc="Python2 library for socket.io" +maintainer="johannes " +license="MIT" +homepage="https://pypi.python.org/pypi/socketIO-client" +distfiles="${PYPI_SITE}/s/socketIO-client/socketIO-client-${version}.tar.gz" +checksum=64cd84fba79cf97f28c11e64d1fc42a2221f2d7a4fada05ab381e2d73d74d2c1 + +post_install() { + vlicense LICENSE +} + +python3-socketIO-client_package() { + depends="python3-requests python3-six python3-websocket-client" + short_desc="${short_desc/Python2/Python3}" + noarch=yes + pycompile_module="socketIO_client" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-IPy b/srcpkgs/python3-IPy new file mode 120000 index 0000000000..1da828b7b1 --- /dev/null +++ b/srcpkgs/python3-IPy @@ -0,0 +1 @@ +python-IPy \ No newline at end of file diff --git a/srcpkgs/python3-ripe-atlas-cousteau b/srcpkgs/python3-ripe-atlas-cousteau new file mode 120000 index 0000000000..12225564ea --- /dev/null +++ b/srcpkgs/python3-ripe-atlas-cousteau @@ -0,0 +1 @@ +python-ripe-atlas-cousteau \ No newline at end of file diff --git a/srcpkgs/python3-ripe-atlas-sagan b/srcpkgs/python3-ripe-atlas-sagan new file mode 120000 index 0000000000..15d7b8fdb2 --- /dev/null +++ b/srcpkgs/python3-ripe-atlas-sagan @@ -0,0 +1 @@ +python-ripe-atlas-sagan \ No newline at end of file diff --git a/srcpkgs/python3-socketIO-client b/srcpkgs/python3-socketIO-client new file mode 120000 index 0000000000..89eb50c620 --- /dev/null +++ b/srcpkgs/python3-socketIO-client @@ -0,0 +1 @@ +python-socketIO-client \ No newline at end of file diff --git a/srcpkgs/ripe-atlas-tools/template b/srcpkgs/ripe-atlas-tools/template new file mode 100644 index 0000000000..5704a9b366 --- /dev/null +++ b/srcpkgs/ripe-atlas-tools/template @@ -0,0 +1,23 @@ +# Template file for 'ripe-atlas-tools' +pkgname=ripe-atlas-tools +version=2.0.2 +revision=1 +noarch=yes +build_style=python3-module +pycompile_module="ripe/atlas/tools" +hostmakedepends="python3-setuptools" +depends=" + python3-tzlocal python3-yaml python3-six python3-dateutil + python3-ripe-atlas-sagan python3-ripe-atlas-cousteau python3-IPy" +short_desc="The official command-line client for RIPE Atlas" +maintainer="johannes " +license="GPL-3" +homepage="https://github.com/ripe-ncc/ripe-atlas-tools" +distfiles="https://github.com/ripe-ncc/${pkgname}/archive/v${version}.tar.gz" +checksum=994f095d79415d7e0df3dc6d5a8dd330161acd7b105eab42e7ae6e7a131b3c2e + +post_install() { + vinstall ripe-atlas-bash-completion.sh 644 \ + usr/share/bash-completion/completions ripe-atlas-tools +} +