Skip to content
Open
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions srcpkgs/mpm/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'mpm'
pkgname=mpm
version=6.4.1
revision=1
build_style=python3-pep517
hostmakedepends="uv-build"
depends="python3-boltons python3-click-extra python3-cyclonedx-python-lib python3-extra-platforms python3-packageurl-python python3-spdx-tools python3-tomli-w python3-xmltodict"
short_desc="CLI that wraps all package managers behind a unifying interface"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/kdeldycke/meta-package-manager"
distfiles="${PYPI_SITE}/m/meta-package-manager/meta_package_manager-6.4.1.tar.gz"
checksum=18b78e18ad3676a7769a91ab359574024c9a18946084e33ae370a4e4f4a60fe6
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-beartype/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-beartype'
pkgname=python3-beartype
version=0.22.9
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
short_desc="Unbearably fast near-real-time pure-Python runtime type-checker"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MIT"
homepage="https://beartype.readthedocs.io/"
distfiles="${PYPI_SITE}/b/beartype/beartype-0.22.9.tar.gz"
checksum=8f82b54aa723a2848a56008d18875f91c1db02c32ef6a62319a002e3e25a975f
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
62 changes: 0 additions & 62 deletions srcpkgs/python3-boltons/patches/py39-test.patch

This file was deleted.

12 changes: 6 additions & 6 deletions srcpkgs/python3-boltons/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Template file for 'python3-boltons'
pkgname=python3-boltons
version=20.2.1
revision=6
build_style=python3-module
hostmakedepends="python3-setuptools"
version=25.0.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Collection of functionality to be bolted on the standard lib"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="BSD-3-Clause"
homepage="https://github.com/mahmoud/boltons"
distfiles="https://github.com/mahmoud/boltons/archive/${version}.tar.gz"
checksum=f5b63fba62bed021c5086e43b4cfdaf6c8396a3ae1ccdcb549b4eb2f36f8a794
checksum=7c9e47f2ca1c1f704950e913bf518c6c599dc4a01bc5feffffce2c3bf3c878ee

post_install() {
vlicense LICENSE
Expand Down
20 changes: 20 additions & 0 deletions srcpkgs/python3-click-extra/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-click-extra'
pkgname=python3-click-extra
version=7.15.0
revision=1
build_style=python3-pep517
hostmakedepends="uv-build"
depends="python3-boltons python3-click python3-cloup python3-deepmerge python3-extra-platforms python3-requests python3-tabulate python3-wcwidth python3-wcmatch"
short_desc="Drop-in replacement for Click to build colorful, user-friendly CLIs"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/kdeldycke/click-extra"
distfiles="${PYPI_SITE}/c/click-extra/click_extra-7.15.0.tar.gz"
checksum=ca56ffd64c3afc5d302c68e894eb955a9457dc5dcb7be9e22d74d2073d1e56ac
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
27 changes: 27 additions & 0 deletions srcpkgs/python3-cloup/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'python3-cloup'
pkgname=python3-cloup
version=3.0.9
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm"
depends="python3-click"
short_desc="Click extension: option groups, constraints, aliases and themed help"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MIT"
homepage="https://github.com/janluke/cloup"
distfiles="${PYPI_SITE}/c/cloup/cloup-3.0.9.tar.gz"
checksum=519f524d3c64040e49a0866b5fc0bfd6af3eac0d3d6a4b2b50b33ab0247db2d7
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_extract() {
# Cloup pins ``setuptools_scm<10`` via legacy ``setup_requires`` which
# triggers a network fetch inside the build sandbox. Void ships
# setuptools_scm 10.x, so widen the constraint to use the host package.
vsed -i -e "s/setuptools_scm<10/setuptools_scm/" setup.py
}

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-cyclonedx-python-lib/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-cyclonedx-python-lib'
pkgname=python3-cyclonedx-python-lib
version=11.7.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-license-expression python3-packageurl-python python3-py-serializable python3-sortedcontainers python3-jsonschema python3-referencing python3-lxml python3-fqdn python3-idna python3-isoduration python3-jsonpointer python3-rfc3339-validator python3-rfc3987-syntax python3-uri-template python3-webcolors"
short_desc="Python library for CycloneDX SBOM"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="Apache-2.0"
homepage="https://github.com/CycloneDX/cyclonedx-python-lib"
distfiles="${PYPI_SITE}/c/cyclonedx-python-lib/cyclonedx_python_lib-11.7.0.tar.gz"
checksum=fb1bc3dedfa31208444dbd743007f478ab6984010a184e5bd466bffd969e936e
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-deepmerge/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-deepmerge'
pkgname=python3-deepmerge
version=2.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm"
depends="python3"
short_desc="Tools to handle merging of nested data structures in Python"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MIT"
homepage="https://github.com/toumorokoshi/deepmerge"
distfiles="${PYPI_SITE}/d/deepmerge/deepmerge-2.0.tar.gz"
checksum=5c3d86081fbebd04dd5de03626a0607b809a98fb6ccba5770b62466fe940ff20
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-extra-platforms/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-extra-platforms'
pkgname=python3-extra-platforms
version=12.0.3
revision=1
build_style=python3-pep517
hostmakedepends="uv-build"
depends="python3"
short_desc="Detect architectures, platforms, shells, terminals, CI systems and agents"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="Apache-2.0"
homepage="https://github.com/kdeldycke/extra-platforms"
distfiles="${PYPI_SITE}/e/extra-platforms/extra_platforms-12.0.3.tar.gz"
checksum=0a3201a05f93f18c840f3e9970d33f756a621eea719cbdfa24a514f96c79de7e
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-fqdn/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-fqdn'
pkgname=python3-fqdn
version=1.5.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="RFC-compliant fully qualified domain name validation and manipulation"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MPL-2.0"
homepage="https://github.com/ypcrts/fqdn"
distfiles="${PYPI_SITE}/f/fqdn/fqdn-1.5.1.tar.gz"
checksum=105ed3677e767fb5ca086a0c1f4bb66ebc3c100be518f0e0d755d9eae164d89f
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-isoduration/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-isoduration'
pkgname=python3-isoduration
version=20.11.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-Arrow"
short_desc="Operations with ISO 8601 durations"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="ISC"
homepage="https://github.com/bolsote/isoduration"
distfiles="${PYPI_SITE}/i/isoduration/isoduration-20.11.0.tar.gz"
checksum=ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-packageurl-python/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-packageurl-python'
pkgname=python3-packageurl-python
version=0.17.6
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Package URL (purl) parser and builder"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MIT"
homepage="https://github.com/package-url/packageurl-python"
distfiles="${PYPI_SITE}/p/packageurl-python/packageurl_python-0.17.6.tar.gz"
checksum=1252ce3a102372ca6f86eb968e16f9014c4ba511c5c37d95a7f023e2ca6e5c25
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-py-serializable/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-py-serializable'
pkgname=python3-py-serializable
version=2.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-defusedxml"
short_desc="Library for serializing and deserializing Python objects to JSON/XML"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="Apache-2.0"
homepage="https://github.com/madpah/serializable"
distfiles="${PYPI_SITE}/p/py-serializable/py_serializable-2.1.0.tar.gz"
checksum=9d5db56154a867a9b897c0163b33a793c804c80cee984116d02d49e4578fc103
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-rfc3987-syntax/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-rfc3987-syntax'
pkgname=python3-rfc3987-syntax
version=1.1.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-lark"
short_desc="Helpers for syntactic validation of IRIs and URIs per RFC 3987"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="MIT"
homepage="https://github.com/python-jsonschema/rfc3987-syntax"
distfiles="${PYPI_SITE}/r/rfc3987-syntax/rfc3987_syntax-1.1.0.tar.gz"
checksum=717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-semantic_version/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-semantic_version'
pkgname=python3-semantic_version
version=2.10.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="SemVer scheme implementation for Python"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="BSD-2-Clause"
homepage="https://github.com/rbarrois/python-semanticversion"
distfiles="${PYPI_SITE}/s/semantic-version/semantic_version-2.10.0.tar.gz"
checksum=bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-spdx-tools/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-spdx-tools'
pkgname=python3-spdx-tools
version=0.8.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm"
depends="python3-beartype python3-click python3-license-expression python3-ply python3-yaml python3-rdflib python3-semantic_version python3-uritools python3-xmltodict"
short_desc="SPDX parser and tools"
maintainer="Kevin Deldycke <kevin@deldycke.com>"
license="Apache-2.0"
homepage="https://github.com/spdx/tools-python"
distfiles="${PYPI_SITE}/s/spdx-tools/spdx_tools-0.8.5.tar.gz"
checksum=be600beb2f762f0116025e05490d399e724f668bef84025a7c421bb266688bdb
# Tests require unbundled or network-restricted resources; skip in build.
make_check=no

post_install() {
vlicense LICENSE 2>/dev/null || vlicense LICENSE.txt 2>/dev/null \
|| vlicense COPYING 2>/dev/null || :
}
Loading