From d1c602c3ac562f9abc0174031377b6ee8e539c74 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 4 Mar 2021 14:29:44 +0800 Subject: [PATCH] mobsf: python 3.9 --- dev-python/biplist/biplist-1.0.3.ebuild | 5 ++- dev-python/google-play-scraper/Manifest | 2 +- ...build => google-play-scraper-0.1.2.ebuild} | 10 ++--- dev-python/pdfkit/pdfkit-0.6.1.ebuild | 8 ++-- dev-python/whitenoise/Manifest | 1 + dev-python/whitenoise/whitenoise-5.2.0.ebuild | 21 +++++++++ dev-util/mobsf/mobsf-3.2.9.ebuild | 2 +- media-gfx/wkhtmltopdf/Manifest | 1 + .../wkhtmltopdf/wkhtmltopdf-0.12.6.ebuild | 43 +++++++++++++++++++ 9 files changed, 80 insertions(+), 13 deletions(-) rename dev-python/google-play-scraper/{google-play-scraper-0.0.1.8.ebuild => google-play-scraper-0.1.2.ebuild} (67%) create mode 100644 dev-python/whitenoise/whitenoise-5.2.0.ebuild create mode 100644 media-gfx/wkhtmltopdf/Manifest create mode 100644 media-gfx/wkhtmltopdf/wkhtmltopdf-0.12.6.ebuild diff --git a/dev-python/biplist/biplist-1.0.3.ebuild b/dev-python/biplist/biplist-1.0.3.ebuild index 9d74683c6..90527feab 100644 --- a/dev-python/biplist/biplist-1.0.3.ebuild +++ b/dev-python/biplist/biplist-1.0.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 @@ -21,3 +21,4 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] dev-python/coverage[${PYTHON_USEDEP}] ${RDEPEND} )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/google-play-scraper/Manifest b/dev-python/google-play-scraper/Manifest index 4fe5d29f2..a49a98577 100644 --- a/dev-python/google-play-scraper/Manifest +++ b/dev-python/google-play-scraper/Manifest @@ -1,2 +1,2 @@ -DIST google-play-scraper-0.0.1.8.tar.gz 28605 BLAKE2B 0cb7de75032b27dcce2bbf49e65cc4700efaa00631687a47f186fca59c02c9a18d961eba798db69270213a5eb3006e700de1ca8d1a75e7ed541d1005bdac320f SHA512 3746b821312aaddb46fdf56ca4fc396600f9749f47d457b770aa4c9041d27ff7388835f593e41dae68e2509218a5f705eb174d1bd2733cbf352e0c18c9e0672a DIST google-play-scraper-0.0.2.3.tar.gz 46356 BLAKE2B 8d5d3f34ffe2d55d594015bfb48724f0c85a709ae242f6cdaf304672d6f1dfb62c020651df289d620d84b356d2a60177622a5d1f50eab632b86cf8a6dbe8be16 SHA512 d24cb017b21eb874ce9107a82efcb5e29061ad148cffe81ccaccd84054849f345425e35b34fdb96b7d5f86bde3477caac365d156843d94ca41f4acbb0e7d485d +DIST google-play-scraper-0.1.2.tar.gz 49413 BLAKE2B 7492822772a38b260b1a1db3b6fdb93648875171ccc1e42bc747e30d2e4455269b9a661eba3fabc9d1cc120e3af927b927ff8275c943c952c46700a6e4ad914b SHA512 647e5396ed38daa0ef82ee05c88f3e9bd0458d29a974b8862da621800749780441b01e70982c1949c24fbbe80735b302c6b5b23a8a86075414f1e9def7d36921 diff --git a/dev-python/google-play-scraper/google-play-scraper-0.0.1.8.ebuild b/dev-python/google-play-scraper/google-play-scraper-0.1.2.ebuild similarity index 67% rename from dev-python/google-play-scraper/google-play-scraper-0.0.1.8.ebuild rename to dev-python/google-play-scraper/google-play-scraper-0.1.2.ebuild index 4f4916656..6ee9d777e 100644 --- a/dev-python/google-play-scraper/google-play-scraper-0.0.1.8.ebuild +++ b/dev-python/google-play-scraper/google-play-scraper-0.1.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 @@ -13,9 +13,9 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="test" RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/pdfkit/pdfkit-0.6.1.ebuild b/dev-python/pdfkit/pdfkit-0.6.1.ebuild index a89a177ad..1723b9c81 100644 --- a/dev-python/pdfkit/pdfkit-0.6.1.ebuild +++ b/dev-python/pdfkit/pdfkit-0.6.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 @@ -17,5 +17,5 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RDEPEND="media-gfx/wkhtmltopdf" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/whitenoise/Manifest b/dev-python/whitenoise/Manifest index 215d4ecca..4f9db7f0c 100644 --- a/dev-python/whitenoise/Manifest +++ b/dev-python/whitenoise/Manifest @@ -1 +1,2 @@ DIST whitenoise-5.0.1.tar.gz 44551 BLAKE2B 2ef5f880be3f7f33d7e151fb2f55aacebed970477b41cea53c0c46fe4d00b307a8c9ba1adcace308a1ecfc47e18ebf2b8beaf0345f132ae0239b16ea3507179f SHA512 9a183fb2a3a939b8887d38b618ae0216ab3162935b54e169223f84721a601af869db744023daa5d697e2019ecea947d6b63e9c4abe52a9180601640966c33516 +DIST whitenoise-5.2.0.tar.gz 45096 BLAKE2B 8a2cb53664e2f4fffc8f92298879475b5ec5354bce3f99d8bacf4a0da90f858e48c8e4817c241f9d542b4f0066e2980fb935a33f47e8e861cc6cb4103f184de0 SHA512 6f4305205247b98a7d6d73b48c40de9eea5ea7f525c7b9a863b979e9d38461370eddf6392bc33fc6766623e4a7e33dc356f488eb495dc7786dc6b9e1e5bf04ed diff --git a/dev-python/whitenoise/whitenoise-5.2.0.ebuild b/dev-python/whitenoise/whitenoise-5.2.0.ebuild new file mode 100644 index 000000000..5a0ffd58e --- /dev/null +++ b/dev-python/whitenoise/whitenoise-5.2.0.ebuild @@ -0,0 +1,21 @@ +# 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="Radically simplified static file serving for WSGI applications" +HOMEPAGE="http://whitenoise.evans.io/en/stable/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test brotli" + +RDEPEND="brotli? ( app-arch/brotli[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-util/mobsf/mobsf-3.2.9.ebuild b/dev-util/mobsf/mobsf-3.2.9.ebuild index 3d577b81e..588cf651f 100644 --- a/dev-util/mobsf/mobsf-3.2.9.ebuild +++ b/dev-util/mobsf/mobsf-3.2.9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 diff --git a/media-gfx/wkhtmltopdf/Manifest b/media-gfx/wkhtmltopdf/Manifest new file mode 100644 index 000000000..00156d14e --- /dev/null +++ b/media-gfx/wkhtmltopdf/Manifest @@ -0,0 +1 @@ +DIST wkhtmltopdf-0.12.6.tar.gz 519045 BLAKE2B 70849a9d08a91f44e6b6f35f4d6207745e9adcff081e236a02008a1759639ba1a4d1caf14b19f10a1c84e7c0ca1cddf796edcaa4b6bad73089b4b42aa8ed3fc4 SHA512 616f51a9094ae91339ca9b6228ee15a67e4092117d087124e2966d3aa53d1caa27f729a40df4e1f2c95149bea86c9b6f184ce9930f9025728d2cdfe6c94a2fbb diff --git a/media-gfx/wkhtmltopdf/wkhtmltopdf-0.12.6.ebuild b/media-gfx/wkhtmltopdf/wkhtmltopdf-0.12.6.ebuild new file mode 100644 index 000000000..eeb1fc8e3 --- /dev/null +++ b/media-gfx/wkhtmltopdf/wkhtmltopdf-0.12.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils + +DESCRIPTION="Convert html to pdf (and various image formats) using webkit" +HOMEPAGE="https://wkhtmltopdf.org/ https://github.com/wkhtmltopdf/wkhtmltopdf/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="examples" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwebkit:5[printsupport] + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/qtxmlpatterns:5 +" + +src_prepare() { + default + sed -i "s:\(INSTALLBASE/\)lib:\1$(get_libdir):" src/lib/lib.pro || die +} + +src_configure() { + eqmake5 INSTALLBASE=/usr +} + +src_install() { + emake INSTALL_ROOT="${D}" install + use examples && dodoc -r examples + einstalldocs +}