Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions core/python3-docutils/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Alpine-Contributor: Matt Smith <[email protected]>
# Alpine-Maintainer: Matt Smith <[email protected]>
# Maintainer: Elliott Mazzuca <[email protected]>
pkgname=py3-docutils
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pkgname=py3-docutils
pkgname=python3-docutils

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree py3 matches alpine linux, but i am just matching how the rest of our python3 packages naming convention:

@arbassett do you agree?

[qnxuser@qnxqemu ~/aports_push/extra/libfyaml]$ sudo apk search py3 python3-attrs-25.3.0-r0 python3-build-1.2.2-r1 python3-cairo-1.28.0-r0 python3-calver-2025.04.17-r0 python3-cattrs-25.1.1-r0 python3-dateutil-2.9.0-r0 python3-dbus-1.4.0-r0 python3-distlib-0.4.0-r0 python3-editables-0.5-r0 python3-filelock-3.18.0-r0 python3-flaky-3.8.1-r0 python3-flit-core-3.12.0-r1 python3-gobject3-3.54.5-r0 python3-gpep517-19-r2 python3-hatch-vcs-0.5.0-r0 python3-hatchling-1.27.0-r0 python3-iniconfig-2.3.0-r0 python3-installer-0.7.0-r1 python3-meson-python-0.18.0-r0 python3-numpy-2.4.1-r0 python3-packaging-25.0-r1 python3-pathspec-0.12.1-r0 python3-pip-25.1.1-r2 python3-platformdirs-4.5.1-r0 python3-pluggy-1.6.0-r0 python3-py-1.11.0-r0 python3-pydbus-0.6.0-r0 python3-pygments-2.19.2-r0 python3-pyproject-hooks-1.0.0-r2 python3-pyproject-metadata-0.9.1-r0 python3-pytest-8.4.2-r0 python3-pytest-mock-3.10.0-r0 python3-setuptools-80.8.0-r1 python3-setuptools_scm-9.2.2-r0 python3-time-machine-2.16.0-r0 python3-trove-classifiers-2025.9.11.17-r0 python3-virtualenv-20.32.0-r0 python3-wheel-0.46.1-r1

# withhold 0.22 until https://github.com/sphinx-doc/sphinx/issues/13656 is solved
pkgver=0.21.2
pkgrel=1
pkgdesc="Documentation Utilities for Python3"
url="https://pypi.org/project/docutils"
arch="noarch"
license="BSD-2-Clause AND GPL-3.0-or-later AND Python-2.0"
depends="python3"
makedepends="python3-gpep517 python3-flit-core python3-setuptools python3-wheel"
checkdepends="python3-pytest"
source="https://files.pythonhosted.org/packages/source/d/docutils/docutils-$pkgver.tar.gz"
builddir="$srcdir/docutils-$pkgver"
options="!check" # fail

build() {
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
}

check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}

package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
}

sha512sums="
7fafa331f5687448e80d299c20cdccc4b49819fa471b5f586bf0ab18c694ba43a70f58e7c76b0a70a16267585548389214e11a4998ad7fdc19a27f0f7644539c docutils-0.21.2.tar.gz
"