diff --git a/srcpkgs/electrum/INSTALL.msg b/srcpkgs/electrum/INSTALL.msg new file mode 100644 index 00000000000..b87bdad4972 --- /dev/null +++ b/srcpkgs/electrum/INSTALL.msg @@ -0,0 +1,4 @@ +Some optional packages must be installed for additional functionality: + + - python-matplotlib: plot transaction history in graphical mode + diff --git a/srcpkgs/electrum/template b/srcpkgs/electrum/template new file mode 100644 index 00000000000..5ca5387bd1d --- /dev/null +++ b/srcpkgs/electrum/template @@ -0,0 +1,25 @@ +# Template file for 'python-electrum' +pkgname=electrum +version=2.7.12 +revision=1 +noarch=yes +wrksrc="Electrum-${version}" +build_style=python2-module +pycompile_module="electrum" +hostmakedepends="python-setuptools" +depends="python-slowaes python-ecdsa python-pbkdf2 python-requests python-qrcode python-protobuf python-dnspython python-jsonrpclib" +# Missing optional dependencies: +# python-zbar - QR Code scanning +# python-btchip - BTChip hardware wallet support +# python-trezor - TREZOR hardware wallet support +# python-keepkey - KeepKey hardware wallet support +short_desc="Lightweight Bitcoin client" +maintainer="Charles E. Lehner " +homepage="https://electrum.org/" +license="MIT" +distfiles="https://download.electrum.org/${version}/Electrum-${version}.tar.gz" +checksum=3644274231326cc6b13a25703ebe6ec22bbbce7832a86d75abc745040475ad6f + +post_install() { + vlicense LICENCE LICENSE +} diff --git a/srcpkgs/electrum/update b/srcpkgs/electrum/update new file mode 100644 index 00000000000..4b1b69c3322 --- /dev/null +++ b/srcpkgs/electrum/update @@ -0,0 +1,3 @@ +site="https://download.electrum.org" +pattern=')' + diff --git a/srcpkgs/python-jsonrpclib/template b/srcpkgs/python-jsonrpclib/template new file mode 100644 index 00000000000..34fdc948dea --- /dev/null +++ b/srcpkgs/python-jsonrpclib/template @@ -0,0 +1,16 @@ +# Template file for 'python-jsonrpclib' +pkgname=python-jsonrpclib +version=0.1.7 +revision=1 +noarch=yes +wrksrc="jsonrpclib-${version}" +build_style=python2-module +pycompile_module="jsonrpclib" +hostmakedepends="python-setuptools" +depends="python" +short_desc="Python implementation of the JSON-RPC v2.0 specification" +maintainer="Charles E. Lehner " +homepage="http://github.com/joshmarshall/jsonrpclib/" +license="Apache-2.0" +distfiles="${PYPI_SITE}/j/jsonrpclib/jsonrpclib-${version}.tar.gz" +checksum=7f50239d53b5e95b94455d5e1adae70592b5b71f0e960d3bbbfbb125788e6f0b diff --git a/srcpkgs/python-pbkdf2/template b/srcpkgs/python-pbkdf2/template new file mode 100644 index 00000000000..88bfebd9bd3 --- /dev/null +++ b/srcpkgs/python-pbkdf2/template @@ -0,0 +1,19 @@ +# Template file for 'python-pbkdf2' +pkgname=python-pbkdf2 +version=1.3 +revision=1 +noarch=yes +wrksrc="pbkdf2-${version}" +build_style=python2-module +pycompile_module="pbkdf2" +hostmakedepends="python-setuptools" +short_desc="Password-based key derivation function PBKDF2 (Python2)" +maintainer="Charles E. Lehner " +homepage="http://www.dlitz.net/software/python-pbkdf2/" +license="MIT" +distfiles="${PYPI_SITE}/p/pbkdf2/pbkdf2-${version}.tar.gz" +checksum=ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979 + +do_install() { + vlicense README.txt +} diff --git a/srcpkgs/python-protobuf/template b/srcpkgs/python-protobuf/template new file mode 100644 index 00000000000..b2c24ca2033 --- /dev/null +++ b/srcpkgs/python-protobuf/template @@ -0,0 +1,26 @@ +# Template file for 'python-protobuf' +pkgname=python-protobuf +version=3.1.0.post1 +revision=1 +noarch=yes +wrksrc="protobuf-${version}" +build_style=python2-module +pycompile_module="protobuf" +hostmakedepends="python-setuptools" +depends="python" +short_desc="Python bindings for Google Protocol Buffers" +maintainer="Charles E. Lehner " +homepage="https://developers.google.com/protocol-buffers/" +license="BSD" +distfiles=" +${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz +https://raw.githubusercontent.com/google/protobuf/master/LICENSE" +checksum=" +1a2e989ff8820ef2eaf56b07cd40ad764ec505a0f0b52b69f7fa9e0d5afbddb7 +af67c58de2e18677a0b8cb5fffbe2232aabb8eb2930e8cd684769cef3d74a262" +skip_extraction=LICENSE + +post_install() { + vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE + chmod -R o+r $DESTDIR/usr/lib +} diff --git a/srcpkgs/python-qrcode/INSTALL.msg b/srcpkgs/python-qrcode/INSTALL.msg new file mode 100644 index 00000000000..09539ea5d62 --- /dev/null +++ b/srcpkgs/python-qrcode/INSTALL.msg @@ -0,0 +1,4 @@ +Some optional packages must be installed for additional functionality: + + - python-Pillow: Image generation support + diff --git a/srcpkgs/python-qrcode/template b/srcpkgs/python-qrcode/template new file mode 100644 index 00000000000..5cfef0ecf05 --- /dev/null +++ b/srcpkgs/python-qrcode/template @@ -0,0 +1,20 @@ +# Template file for 'python-qrcode' +pkgname=python-qrcode +version=5.3 +revision=1 +noarch=yes +wrksrc="qrcode-${version}" +build_style=python2-module +pycompile_module="qrcode" +hostmakedepends="python-setuptools" +depends="python-six" +short_desc="QR Code image generator (Python2)" +maintainer="Charles E. Lehner " +homepage="https://github.com/lincolnloop/python-qrcode" +license="MIT" +distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz" +checksum=4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e + +do_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python-slowaes/template b/srcpkgs/python-slowaes/template new file mode 100644 index 00000000000..003a416ae84 --- /dev/null +++ b/srcpkgs/python-slowaes/template @@ -0,0 +1,16 @@ +# Template file for 'python-slowaes' +pkgname=python-slowaes +version=0.1a1 +revision=1 +noarch=yes +wrksrc="slowaes-${version}" +build_style=python2-module +pycompile_module="slowaes" +hostmakedepends="python-setuptools" +depends="python" +short_desc="Implementation of AES in Python" +maintainer="Charles E. Lehner " +homepage="http://code.google.com/p/slowaes/" +license="Apache-2.0" +distfiles="${PYPI_SITE}/s/slowaes/slowaes-${version}.tar.gz" +checksum=83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09