From adb4c2ab85a3d9771ec93d15163f13e2f2a86ee3 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 24 Feb 2022 15:04:59 +0100 Subject: [PATCH] python3-reportlab: update to 3.6.7. * remove python-reportlab --- srcpkgs/python-reportlab/template | 32 ------------------------------ srcpkgs/python3-reportlab | 1 - srcpkgs/python3-reportlab/template | 19 ++++++++++++++++++ srcpkgs/removed-packages/template | 1 + 4 files changed, 20 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/python-reportlab/template delete mode 120000 srcpkgs/python3-reportlab create mode 100644 srcpkgs/python3-reportlab/template diff --git a/srcpkgs/python-reportlab/template b/srcpkgs/python-reportlab/template deleted file mode 100644 index 019923f4d68..00000000000 --- a/srcpkgs/python-reportlab/template +++ /dev/null @@ -1,32 +0,0 @@ -# Template file for 'python-reportlab' -pkgname=python-reportlab -version=3.5.42 -revision=3 -wrksrc="reportlab-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools freetype-devel" -makedepends="python-devel python3-devel freetype-devel libart-devel" -depends="python-Pillow" -short_desc="Python2 library for generating PDFs and graphics" -maintainer="Alessio Sergi " -license="BSD-3-Clause" -homepage="https://www.reportlab.com/" -distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz" -checksum=9c21f202697a6cea57b9d716288fc919d99cbabeb30222eebfc7ff77eac32744 - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" ${makedepends}" -fi - -post_install() { - vlicense LICENSE.txt -} - -python3-reportlab_package() { - depends="python3-Pillow" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-reportlab b/srcpkgs/python3-reportlab deleted file mode 120000 index 3bc20b391af..00000000000 --- a/srcpkgs/python3-reportlab +++ /dev/null @@ -1 +0,0 @@ -python-reportlab \ No newline at end of file diff --git a/srcpkgs/python3-reportlab/template b/srcpkgs/python3-reportlab/template new file mode 100644 index 00000000000..173fe1f73ee --- /dev/null +++ b/srcpkgs/python3-reportlab/template @@ -0,0 +1,19 @@ +# Template file for 'python3-reportlab' +pkgname=python3-reportlab +version=3.6.7 +revision=1 +wrksrc="reportlab-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel freetype-devel libart-devel" +depends="python3-Pillow" +short_desc="Python3 library for generating PDFs and graphics" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://www.reportlab.com/" +distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz" +checksum=d035054724278129aba2a55c3edd6111b07e625ad1ff845e3ba2a5e4e203bbc8 + +post_install() { + vlicense LICENSE.txt +} diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index be9d890e53d..3c7a24da0ff 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -280,6 +280,7 @@ replaces=" python-pyenet<=1.3.13.post7_2 python-pyside<=1.2.2_7 python-pytest-relaxed<=1.1.2_2 + python-reportlab<=3.5.42_3 python-requests<=2.26.0_2 python-sqlite<=2.8.3_1 python-unicorn>=0