dev-python/reportlab: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-20 21:31:15 +02:00
parent 6e4773fb9a
commit d011f25211
2 changed files with 0 additions and 67 deletions

View File

@@ -1,3 +1,2 @@
DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
DIST reportlab-3.5.66.tar.gz 2911372 BLAKE2B 58bc718157066a82eece18141e08547b8360dd653d2365fdbe1708fee2f1f8dffeced60500b4e866c31947fae00b78ab9853983563fb89e5b34827173c71a534 SHA512 81fac9fd751a451bd5bf6c91efcf9e250ec1c028587c9ed76129d7fd20c4efa17ea0ae45f08dd43a33adf6f4a2c5338a557e869b85d0b6405626720b0e9221a8
DIST reportlab-3.5.67.tar.gz 2911726 BLAKE2B 8dbd3bb54c2c651616c3b6be905ac7b43b3a8f30f630d2f9b91882416cb4513751affa507870fdd801b5aa53480498ecc9a5fe3902ab38d72288b6f48ce892e9 SHA512 5a0ec58f0ee925079f3756bac309bd5aaf159118a4ed7ec6467721ead23e5db37839014bb49f1804a0dee4532ce21f9c78adec99ec61a4aeffd957184d489a6c

View File

@@ -1,66 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Tools for generating printable PDF documents from any data source"
HOMEPAGE="
https://www.reportlab.com/
https://pypi.org/project/reportlab/"
SRC_URI="
mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
DEPEND="
media-libs/freetype
media-libs/libart_lgpl
sys-libs/zlib:="
RDEPEND="
${DEPEND}
dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]"
BDEPEND="
app-arch/unzip"
distutils_enable_sphinx docs/source
distutils_enable_tests unittest
PATCHES=(
# bug 738312, remove -L/usr/lib from link line
"${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch
)
src_unpack() {
unpack ${P}.tar.gz
cd ${P}/src/reportlab/fonts || die
unpack pfbfer-20070710.zip
}
python_prepare_all() {
# tests requiring Internet access
sed -i -e 's:test0:_&:' \
tests/test_platypus_general.py \
tests/test_platypus_images.py || die
sed -i -e 's:test9:_&:' tests/test_lib_utils.py || die
distutils-r1_python_prepare_all
}
src_configure() {
mydistutilsargs=(
--no-download-t1-files
--use-system-libart
)
}
python_test() {
pushd tests >/dev/null || die
"${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}"
popd >/dev/null || die
}