commit: ac0f47499957b383ba743a0eb3ee314e52a2d4dd Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Wed Aug 31 00:06:17 2016 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Wed Aug 31 01:17:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0f4749
dev-python/pyqrcode: New pkg, new dep of dev-python/autobahn-0.16.0 Package-Manager: portage-2.3.0 dev-python/pyqrcode/Manifest | 1 + dev-python/pyqrcode/metadata.xml | 24 ++++++++++++++++++++++++ dev-python/pyqrcode/pyqrcode-1.2.1.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/pyqrcode/Manifest b/dev-python/pyqrcode/Manifest new file mode 100644 index 00000000..4434402 --- /dev/null +++ b/dev-python/pyqrcode/Manifest @@ -0,0 +1 @@ +DIST pyqrcode-1.2.1.tar.gz 36989 SHA256 fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5 SHA512 784262cb15c10f3581b0caeac6bba046686b35b8c0709ee78684b805b6cba49f4250a004dc5f7d393cc25929cbf815c6c3a94e284a77d20ff7224a8dde3a036a WHIRLPOOL 9911dd1b48aeb68acbe3ba31b719e12dd896d556e5b945070c3c93004415547d405753ee064d772cb15182f8b019239af3d2d452b7767c20efca61b72326020b diff --git a/dev-python/pyqrcode/metadata.xml b/dev-python/pyqrcode/metadata.xml new file mode 100644 index 00000000..b832be7 --- /dev/null +++ b/dev-python/pyqrcode/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dol-...@gentoo.org</email> + <description>Primary maintainer</description> + </maintainer> + <maintainer type="project"> + <email>pyt...@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <maintainer> + <email>mnooner...@gmail.com</email> + <name>Michael Nooner</name> + </maintainer> + <remote-id type="pypi">PyQRCode</remote-id> + </upstream> + <longdescription> + The pyqrcode module is a QR code generator that is simple to use and + written in pure python. The module can automate most of the building + process for creating QR codes. + </longdescription> +</pkgmetadata> diff --git a/dev-python/pyqrcode/pyqrcode-1.2.1.ebuild b/dev-python/pyqrcode/pyqrcode-1.2.1.ebuild new file mode 100644 index 00000000..0ce01f9 --- /dev/null +++ b/dev-python/pyqrcode/pyqrcode-1.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5}) + +inherit distutils-r1 + +MY_PN="PyQRCode" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A pure Python QR code generator with SVG, EPS, PNG and terminal output" +HOMEPAGE="https://github.com/mnooner256/pyqrcode https://pypi.python.org/pypi/PyQRCode" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="png" + +RDEPEND=" + png? ( dev-python/pypng[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +S=${WORKDIR}/${MY_P}