From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pyqrcode/Manifest | 1 + dev-python/pyqrcode/metadata.xml | 22 +++++++++++++++++ dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild | 37 ++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 dev-python/pyqrcode/Manifest create mode 100644 dev-python/pyqrcode/metadata.xml create mode 100644 dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild (limited to 'dev-python/pyqrcode') diff --git a/dev-python/pyqrcode/Manifest b/dev-python/pyqrcode/Manifest new file mode 100644 index 000000000000..69a4e3102435 --- /dev/null +++ b/dev-python/pyqrcode/Manifest @@ -0,0 +1 @@ +DIST pyqrcode-1.2.1.gh.tar.gz 63404 BLAKE2B b192c55f3e6fb5c6d2c5f245d34fc909fbaaa582586a2a60526a98fb83079136358a0012d98e0772fb73eecb5133fecb643525fae05de8eede10b6f7a6662f08 SHA512 87a307e57d470153b37cccd3e79c8e04fc8de63cc7ffce313a7cc7d7e7f53b2979125ac3680a4b261fe0eeffd476e7934fa189a679f9370d690113811cc750b8 diff --git a/dev-python/pyqrcode/metadata.xml b/dev-python/pyqrcode/metadata.xml new file mode 100644 index 000000000000..1e282d86ae2e --- /dev/null +++ b/dev-python/pyqrcode/metadata.xml @@ -0,0 +1,22 @@ + + + + + python@gentoo.org + Python + + + + mnooner256@gmail.com + Michael Nooner + + PyQRCode + mnooner256/pyqrcode + + + 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. + + gentoo-staging + diff --git a/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild b/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild new file mode 100644 index 000000000000..50803e75ddd8 --- /dev/null +++ b/dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +# upstream doesn't do tags +EGIT_COMMIT="674a77b5eaf850d063f518bd90c243ee34ad6b5d" + +DESCRIPTION="A pure Python QR code generator with SVG, EPS, PNG and terminal output" +HOMEPAGE="https://github.com/mnooner256/pyqrcode https://pypi.org/project/PyQRCode/" +SRC_URI="https://github.com/mnooner256/pyqrcode/archive/${EGIT_COMMIT}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux" +IUSE="png" + +RDEPEND=" + png? ( dev-python/pypng[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( dev-python/pypng[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests nose + +src_prepare() { + # don't pull in tkinter for one test + sed -i -e 's:test_xbm_with_tkinter:_&:' \ + tests/test_xbm.py || die + + distutils-r1_src_prepare +} -- cgit v1.3.1