diff --git a/srcpkgs/python-stem/template b/srcpkgs/python-stem/template new file mode 100644 index 0000000000..53eefb0ce9 --- /dev/null +++ b/srcpkgs/python-stem/template @@ -0,0 +1,29 @@ +# Template file for 'python-stem' +pkgname=python-stem +version=1.4.1b +revision=1 +noarch=yes +wrksrc=stem-${version/b/} +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="stem" +hostmakedepends="python python3.4" +depends="python python-crypto" +short_desc="A python controller library for tor" +maintainer="Michael Gehring " +license="LGPL-3" +homepage="https://stem.torproject.org/" +distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.bz2" +checksum=475ba00120d571bd959d7ef24e45c4c698bb568c9321043eb7a10c1f6e554325 + +python3.4-stem_package() { + noarch=yes + depends="python3.4 python3.4-crypto" + pycompile_version="3.4" + pycompile_module="stem" + pkg_install() { + vmove /usr/lib/python3.4 + vbin ${DESTDIR}/usr/bin/tor-prompt tor-prompt3.4 + } +} + diff --git a/srcpkgs/python3.4-stem b/srcpkgs/python3.4-stem new file mode 120000 index 0000000000..abe2e35c54 --- /dev/null +++ b/srcpkgs/python3.4-stem @@ -0,0 +1 @@ +python-stem \ No newline at end of file