~sircmpwn/sr.ht-packages

sr.ht-apkbuilds: Drop py3-pydyf v1 APPLIED

Conrad Hoffmann: 1
 Drop py3-pydyf

 1 files changed, 0 insertions(+), 41 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-packages/patches/40375/mbox | git am -3
Learn more about email & git

[PATCH sr.ht-apkbuilds] Drop py3-pydyf Export this patch

It was a dependency of weasyprint, which has already been removed.
---
 sr.ht/py3-pydyf/APKBUILD | 41 ----------------------------------------
 1 file changed, 41 deletions(-)
 delete mode 100644 sr.ht/py3-pydyf/APKBUILD

diff --git a/sr.ht/py3-pydyf/APKBUILD b/sr.ht/py3-pydyf/APKBUILD
deleted file mode 100644
index 2f8da0c..0000000
--- a/sr.ht/py3-pydyf/APKBUILD
@@ -1,41 +0,0 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pydyf
_pyname=pydyf
pkgver=0.5.0
pkgrel=0
pkgdesc="A low-level PDF generator"
url="https://pypi.org/project/pydyf/"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py3-build py3-installer py3-flit"
checkdepends="
	py3-pytest py3-pytest-flake8 py3-pytest-isort py3-pytest-cov py3-coverage
	py3-pillow ghostscript
"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

prepare() {
	# If you're going to make your test suite fail on flake8 errors you should
	# at least run it before you ship a release
	sed -i pyproject.toml -e 's/ --flake8//'
}

build() {
	python3 -m build --no-isolation --wheel .
}

check() {
	python3 -m pytest
}

package() {
	python3 -m installer --destdir="$pkgdir" \
		dist/$_pyname-$pkgver-py3-none-any.whl
}

sha512sums="
fd14aa4a06fdc3c6c883d32471d94f49deac9d8f774f79a9ed35c1e57a50369eac6d8aca91f71a98af9d71636fa58ff5a33d5c1d1d4289518be33a2f224275bd  pydyf-0.5.0.tar.gz
"
-- 
2.40.0
Thanks!

To git@git.sr.ht:~sircmpwn/sr.ht-apkbuilds
   4ce6c1a..7950ba6  master -> master