diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-22 00:46:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-22 00:50:17 +0200 |
commit | 20e537e6bc6e13977642b6d42ab9fb053936ec4b (patch) | |
tree | 6fde385f7f51c22c5f9deafff9d15a8987f2af78 /dev-python/blockdiag | |
parent | dev-python/blessed: Remove old (diff) | |
download | gentoo-20e537e6bc6e13977642b6d42ab9fb053936ec4b.tar.gz gentoo-20e537e6bc6e13977642b6d42ab9fb053936ec4b.tar.bz2 gentoo-20e537e6bc6e13977642b6d42ab9fb053936ec4b.zip |
dev-python/blockdiag: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/blockdiag')
-rw-r--r-- | dev-python/blockdiag/Manifest | 1 | ||||
-rw-r--r-- | dev-python/blockdiag/blockdiag-1.5.4.ebuild | 61 | ||||
-rw-r--r-- | dev-python/blockdiag/files/blockdiag-1.5.3-py2_7-test-fix.patch | 12 |
3 files changed, 0 insertions, 74 deletions
diff --git a/dev-python/blockdiag/Manifest b/dev-python/blockdiag/Manifest index 7451f2962c48..8ef8fa233e2d 100644 --- a/dev-python/blockdiag/Manifest +++ b/dev-python/blockdiag/Manifest @@ -1,2 +1 @@ -DIST blockdiag-1.5.4.tar.gz 2693073 BLAKE2B 8a825742b4144667153af00d5e334325f8a3b49823355787dbd577729da8b0fc221ead14ab899ef8aef1800bbc2cdc47f060330bf0a2f2f1bcd055d172d8adbb SHA512 0eef8b3837282ed611e044ee618abca1f799b4a151bc2d7cece140c97ac728b2f3b9a3bb6877d3fed42a74e0173d0cbfd2966521c4dfb21c266975b4062405d2 DIST blockdiag-2.0.1.tar.gz 2694776 BLAKE2B 289bbeab89dff4e8274efb9e2061b1e412e29bfbd663f64b55346ee09d09279e0813347c51b6cdc9e547b417eba637a85f7cb37f48006467bfa1c9875a113971 SHA512 07690882b05d4cf7be04245e183a7c54d9cd4acab3bb4b5e170b7b0f9229d6ea42eba4dc9fab47604c1572d3c4b09de96cffb610c0c31882b9c0b150f0e76d89 diff --git a/dev-python/blockdiag/blockdiag-1.5.4.ebuild b/dev-python/blockdiag/blockdiag-1.5.4.ebuild deleted file mode 100644 index c6b80ef607a0..000000000000 --- a/dev-python/blockdiag/blockdiag-1.5.4.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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 - -DESCRIPTION="Generate block-diagram image from text" -HOMEPAGE="http://blockdiag.com/ https://pypi.org/project/blockdiag/ https://github.com/blockdiag/blockdiag/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/pillow-2.2.1[${PYTHON_USEDEP}] - dev-python/webcolors[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - media-fonts/ja-ipafonts - ) -" - -PATCHES=( "${FILESDIR}/blockdiag-1.5.3-py2_7-test-fix.patch") -python_prepare_all() { - sed -i -e /build-base/d setup.cfg || die - # unnecessary dep - sed -i -e '/pep8/d' setup.py || die - # disable tests requiring Internet access - sed -i -e 's:test_app_cleans_up_images:_&:' \ - src/blockdiag/tests/test_command.py || die - sed -i -e 's:ghostscript_not_found_test:_&:' \ - src/blockdiag/tests/test_generate_diagram.py || die - rm src/blockdiag/tests/diagrams/node_icon.diag || die - - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} - -pkg_postinst() { - einfo "For additional functionality, install the following optional packages:" - einfo " dev-python/reportlab for pdf format" - einfo " media-gfx/imagemagick" - einfo " wand: https://pypi.org/project/Wand" - einfo " Ctypes-based simple MagickWand API binding for Python" -} diff --git a/dev-python/blockdiag/files/blockdiag-1.5.3-py2_7-test-fix.patch b/dev-python/blockdiag/files/blockdiag-1.5.3-py2_7-test-fix.patch deleted file mode 100644 index e9ccfc82b9a0..000000000000 --- a/dev-python/blockdiag/files/blockdiag-1.5.3-py2_7-test-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -r 07f96892bfda src/blockdiag/tests/test_utils_fontmap.py ---- a/src/blockdiag/tests/test_utils_fontmap.py Sat Aug 22 13:38:35 2015 +0900 -+++ b/src/blockdiag/tests/test_utils_fontmap.py Mon Apr 10 05:56:48 2017 -0700 -@@ -223,7 +223,7 @@ - _config = u("[fontmap]\nsansserif: %s\nsansserif: %s\n") % \ - (self.fontpath[0], self.fontpath[1]) - config = StringIO(_config) -- if sys.version_info[0] == 2: -+ if sys.version_info < (2, 7): - fmap = FontMap(config) - - font1 = fmap.find() |