aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:14:27 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:26:08 +0200
commit1f20a27498ec529b20aea065ad6207d2ccee5070 (patch)
tree8130269fcaa4f2ffee8a3fa8f7889036f6788ed2
parentdac0233e6fc7607cd82c9d8daeef6480b49feea4 (diff)
downloadaports-1f20a27498ec529b20aea065ad6207d2ccee5070.tar.gz
aports-1f20a27498ec529b20aea065ad6207d2ccee5070.tar.bz2
aports-1f20a27498ec529b20aea065ad6207d2ccee5070.tar.xz
testing/py3-weasyprint: rename aport to weasyprint
This is mainly a CLI tool, not a Python library, that just happens to be written in Python. We don't use py3- prefix in such cases (and neither other distros). More precisely, the aport should be named weasyprint, but /usr/lib/python3 should be splitted into a subpackage py3-weasyprint (i.e. the origin package would contain just /usr/bin/weasyprint in this case), but doing that now would break existing installations, so let's postpone it to the future.
-rw-r--r--testing/weasyprint/APKBUILD (renamed from testing/py3-weasyprint/APKBUILD)6
-rw-r--r--testing/weasyprint/disable-flake8-isort-for-pytest.patch (renamed from testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch)0
-rw-r--r--testing/weasyprint/dont-install-tests.patch (renamed from testing/py3-weasyprint/dont-install-tests.patch)0
-rw-r--r--testing/weasyprint/fix-pango-update-font-map.patch (renamed from testing/py3-weasyprint/fix-pango-update-font-map.patch)0
4 files changed, 3 insertions, 3 deletions
diff --git a/testing/py3-weasyprint/APKBUILD b/testing/weasyprint/APKBUILD
index f7a7926955..5199eb2c6a 100644
--- a/testing/py3-weasyprint/APKBUILD
+++ b/testing/weasyprint/APKBUILD
@@ -1,5 +1,5 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname=py3-weasyprint
+pkgname=weasyprint
_pyname=WeasyPrint
pkgver=52.4
pkgrel=2
@@ -27,8 +27,8 @@ checkdepends="
ttf-dejavu
"
makedepends="py3-setuptools"
-replaces="py-weasyprint" # for backward compatibility
-provides="py-weasyprint=$pkgver-r$pkgrel" # for backward compatibility
+replaces="py-weasyprint py3-weasyprint" # for backward compatibility
+provides="py-weasyprint=$pkgver-r$pkgrel py3-weasyprint=$pkgver-r$pkgrel" # for backward compatibility
source="https://files.pythonhosted.org/packages/source/W/$_pyname/$_pyname-$pkgver.tar.gz
fix-pango-update-font-map.patch
disable-flake8-isort-for-pytest.patch
diff --git a/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch b/testing/weasyprint/disable-flake8-isort-for-pytest.patch
index 1a0eda6780..1a0eda6780 100644
--- a/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch
+++ b/testing/weasyprint/disable-flake8-isort-for-pytest.patch
diff --git a/testing/py3-weasyprint/dont-install-tests.patch b/testing/weasyprint/dont-install-tests.patch
index 8501f9dbbf..8501f9dbbf 100644
--- a/testing/py3-weasyprint/dont-install-tests.patch
+++ b/testing/weasyprint/dont-install-tests.patch
diff --git a/testing/py3-weasyprint/fix-pango-update-font-map.patch b/testing/weasyprint/fix-pango-update-font-map.patch
index 9b77a365da..9b77a365da 100644
--- a/testing/py3-weasyprint/fix-pango-update-font-map.patch
+++ b/testing/weasyprint/fix-pango-update-font-map.patch