dev-python/pyqrcode: New pkg, new dep of dev-python/autobahn-0.16.0
authorBrian Dolbec <dolsen@gentoo.org>
Wed, 31 Aug 2016 00:06:17 +0000 (17:06 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Wed, 31 Aug 2016 01:17:40 +0000 (18:17 -0700)
Package-Manager: portage-2.3.0

dev-python/pyqrcode/Manifest [new file with mode: 0644]
dev-python/pyqrcode/metadata.xml [new file with mode: 0644]
dev-python/pyqrcode/pyqrcode-1.2.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyqrcode/Manifest b/dev-python/pyqrcode/Manifest
new file mode 100644 (file)
index 0000000..4434402
--- /dev/null
@@ -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 (file)
index 0000000..b832be7
--- /dev/null
@@ -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-sen@gentoo.org</email>
+               <description>Primary maintainer</description>
+       </maintainer>
+       <maintainer type="project">
+               <email>python@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+       <upstream>
+               <maintainer>
+                       <email>mnooner256@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 (file)
index 0000000..0ce01f9
--- /dev/null
@@ -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}