From 3bd883ff4f88b1f68bb0bba1ab3aa390710b5cef Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Sun, 15 Jun 2025 15:18:57 -0500 Subject: [PATCH 1/5] New package: python3-ordered_set-4.1.0 --- srcpkgs/python3-ordered_set/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-ordered_set/template diff --git a/srcpkgs/python3-ordered_set/template b/srcpkgs/python3-ordered_set/template new file mode 100644 index 00000000000000..5d2bdd022c8506 --- /dev/null +++ b/srcpkgs/python3-ordered_set/template @@ -0,0 +1,17 @@ +# Template file for 'python3-ordered_set' +pkgname=python3-ordered_set +version=4.1.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel python3-flit_core" +checkdepends="python3-pytest black python3-mypy" +short_desc="Mutable set that remembers the order of its entries (Python)" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/rspeer/ordered-set" +distfiles="https://github.com/rspeer/ordered-set/archive/refs/tags/release/${version}.tar.gz" +checksum=73eb7335bfc998eaef1ac1ce1bddf720c562b839e98be00d50fe35fa8c7c6575 + +post_install() { + vlicense MIT-LICENSE +} From 698f35182a8df9daf26d068d88f12f7d54417dc7 Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Sun, 15 Jun 2025 15:55:23 -0500 Subject: [PATCH 2/5] New package: python3-puccinialin-0.1.5 --- srcpkgs/python3-puccinialin/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-puccinialin/template diff --git a/srcpkgs/python3-puccinialin/template b/srcpkgs/python3-puccinialin/template new file mode 100644 index 00000000000000..fff754c1be2cf8 --- /dev/null +++ b/srcpkgs/python3-puccinialin/template @@ -0,0 +1,19 @@ +# Template file for 'python3-puccinialin' +pkgname=python3-puccinialin +version=0.1.5 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel hatchling" +depends="python3-httpx python3-platformdirs python3-tqdm" +checkdepends="${depends} pyright" +short_desc="Install rust into a cache dir for rust-based builds" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/konstin/puccinialin" +distfiles="https://github.com/konstin/puccinialin/archive/refs/tags/v${version}.tar.gz" +checksum=30645039ee259b084c309548a68cd89a0f689737b6599ec19df52c1edf5e9d7d +make_check=no # void error pyright cannot be built + +post_install() { + vlicense license-mit +} From e55095158090a04f2628fe227c9f9a020b052c1d Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Tue, 23 Dec 2025 08:25:04 -0600 Subject: [PATCH 3/5] New package: python3-pytest-pretty-1.3.0 --- srcpkgs/python3-pytest-pretty/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-pytest-pretty/template diff --git a/srcpkgs/python3-pytest-pretty/template b/srcpkgs/python3-pytest-pretty/template new file mode 100644 index 00000000000000..a0cd72aebbf64e --- /dev/null +++ b/srcpkgs/python3-pytest-pretty/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pytest-pretty' +pkgname=python3-pytest-pretty +version=1.3.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel hatchling" +depends="python3-pytest python3-rich" +checkdepends="${depends}" +short_desc="Pytest plugin for pretty printing the test summary" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/samuelcolvin/pytest-pretty" +distfiles="https://github.com/samuelcolvin/pytest-pretty/archive/refs/tags/v${version}.tar.gz" +checksum=348ba49c1565301e872b0377ee5461fd1f1e150815acce92fdda945005c755db + +post_install() { + vlicense LICENSE +} From 5ba649ef791b6bdea97f83886db8924d3e25bfea Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Tue, 23 Dec 2025 08:26:00 -0600 Subject: [PATCH 4/5] New package: python3-watchfiles-1.1.0 --- srcpkgs/python3-watchfiles/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-watchfiles/template diff --git a/srcpkgs/python3-watchfiles/template b/srcpkgs/python3-watchfiles/template new file mode 100644 index 00000000000000..b5d430b6cc6824 --- /dev/null +++ b/srcpkgs/python3-watchfiles/template @@ -0,0 +1,24 @@ +# Template file for 'python3-watchfiles' +pkgname=python3-watchfiles +version=1.1.0 +revision=1 +build_style=python3-pep517 +build_helper="rust qemu" +hostmakedepends="python3-setuptools python3-wheel maturin python3-puccinialin cargo pkg-config" +makedepends="rust-std libzstd-devel python3-devel" +depends="python3-anyio" +checkdepends="python3-coverage python3-dirty-equals maturin python3-pytest python3-pytest-mock python3-pytest-pretty python3-pytest-timeout" +short_desc="File watching and code reload in Python" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/samuelcolvin/watchfiles" +distfiles="https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v${version}.tar.gz" +checksum=15051457d29f8e9a16eaa3ec1714052ff07c1134dd3a74ed46e631d4d821b770 + +post_extract() { + rm -f tests/__init__.py +} + +post_install() { + vlicense LICENSE +} From 3bc64340a7c455092c28c1c0d90093b6489a8823 Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Tue, 23 Dec 2025 08:28:38 -0600 Subject: [PATCH 5/5] pelican: update to 4.11.0, adopt. --- srcpkgs/pelican/template | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/srcpkgs/pelican/template b/srcpkgs/pelican/template index d3295e28d1ef55..a1996edb83ece5 100644 --- a/srcpkgs/pelican/template +++ b/srcpkgs/pelican/template @@ -1,35 +1,24 @@ # Template file for 'pelican' pkgname=pelican -version=4.5.1 -revision=6 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments - python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six - python3-dateutil" -checkdepends="$depends git python3-lxml python3-BeautifulSoup4 python3-Markdown" +version=4.11.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel python3-pdm-backend" +depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six python3-dateutil python3-rich python3-ordered_set python3-watchfiles" short_desc="Static site generator written in Python" -maintainer="Orphaned " +maintainer="Jason Elswick " license="AGPL-3.0-or-later" homepage="https://getpelican.com/" changelog="https://raw.githubusercontent.com/getpelican/pelican/${version}/docs/changelog.rst" -# xbps-src check fails alot with PYPI tarball -# with github tarball, there is one failure on test_error_on_warning -# We can live with it. -# distfiles="${PYPI_SITE}/p/pelican/pelican-${version}.tar.gz" distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz" -checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702 +distfiles="https://github.com/getpelican/pelican/archive/refs/tags/${version}.tar.gz" +checksum=d18b0a9b2cf0427d05b9b8a955bf7bb1028c9849fb2fa44c562d0fe34b6e3655 +make_check=no # fix pytest3 -n error and unpackaged dependencies case "$XBPS_MACHINE" in x86_64*|i686|ppc64le*|ppc64) checkdepends+=" pandoc";; esac -post_extract() { - # This test is problematic, - # but this test is not important, judging from its content - rm pelican/tests/test_testsuite.py -} - post_install() { vlicense LICENSE }