diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pyqrcode | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pyqrcode')
| -rw-r--r-- | dev-python/pyqrcode/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyqrcode/metadata.xml | 22 | ||||
| -rw-r--r-- | dev-python/pyqrcode/pyqrcode-1.2.1-r1.ebuild | 37 |
3 files changed, 60 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <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> + <remote-id type="github">mnooner256/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> + <origin>gentoo-staging</origin> +</pkgmetadata> 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 +} |
