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
29 changes: 9 additions & 20 deletions srcpkgs/pelican/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
maintainer="Jason Elswick <[email protected]>"
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
}
17 changes: 17 additions & 0 deletions srcpkgs/python3-ordered_set/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}
19 changes: 19 additions & 0 deletions srcpkgs/python3-puccinialin/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Template file for 'python3-puccinialin'
pkgname=python3-puccinialin
version=0.1.8
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
depends="python3-httpx python3-platformdirs python3-tqdm python3-filelock"
checkdepends="${depends} python3-pytest uv"
short_desc="Install rust into a cache dir for rust-based builds"
maintainer="Jason Elswick <[email protected]>"
license="MIT"
homepage="https://github.com/konstin/puccinialin"
distfiles="https://github.com/konstin/puccinialin/archive/refs/tags/v${version}.tar.gz"
checksum=b682d367f3ab804d39637672e99121d120d0abbcce8fb8b54507b7832446095a
make_check=no # only tests use docker

post_install() {
vlicense license-mit
}
18 changes: 18 additions & 0 deletions srcpkgs/python3-pytest-pretty/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}
24 changes: 24 additions & 0 deletions srcpkgs/python3-watchfiles/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}