diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-19 20:05:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-19 20:05:36 +0000 |
| commit | 97ddbcc12db33f4f80a209d2d46a85fe3daa4d11 (patch) | |
| tree | 364d756e46434c80a7011f1eacf9f58846794c25 /dev-python/pyqrcode | |
| parent | c9ceaf049f6bdc3c4b43b3a87370e9d8276efd70 (diff) | |
| download | baldeagleos-repo-97ddbcc12db33f4f80a209d2d46a85fe3daa4d11.tar.gz baldeagleos-repo-97ddbcc12db33f4f80a209d2d46a85fe3daa4d11.tar.xz baldeagleos-repo-97ddbcc12db33f4f80a209d2d46a85fe3daa4d11.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyqrcode')
| -rw-r--r-- | dev-python/pyqrcode/pyqrcode-1.2.1-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pyqrcode/pyqrcode-1.2.1-r2.ebuild b/dev-python/pyqrcode/pyqrcode-1.2.1-r2.ebuild new file mode 100644 index 000000000000..4a41552b7400 --- /dev/null +++ b/dev-python/pyqrcode/pyqrcode-1.2.1-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +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 ~riscv ~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 +} |
