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
30 changes: 0 additions & 30 deletions srcpkgs/afew/patches/database-path.patch

This file was deleted.

37 changes: 0 additions & 37 deletions srcpkgs/afew/patches/nullpointererror-fix.patch

This file was deleted.

11 changes: 0 additions & 11 deletions srcpkgs/afew/patches/python3.12.patch

This file was deleted.

14 changes: 10 additions & 4 deletions srcpkgs/afew/template
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
# Template file for 'afew'
pkgname=afew
version=3.0.1
revision=9
version=4.0.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-Sphinx pkg-config"
depends="notmuch-python3 python3-dkimpy python3-chardet notmuch"
depends="python3-notmuch2 python3-dkimpy python3-chardet notmuch"
checkdepends="python3-pytest python3-freezegun $depends"
short_desc="Initial tagging script for notmuch mail"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="ISC"
homepage="https://github.com/afewmail/afew"
changelog="https://raw.githubusercontent.com/afewmail/afew/refs/heads/master/NEWS.md"
distfiles="${PYPI_SITE}/a/afew/afew-${version}.tar.gz"
checksum=ce857fe1a3bc0982c1dac81aef66cacc148e4f9db06da720f869392af1c2ee72
checksum=2cf2920f868c01112d7f963803da1ae9287996ffeeb8ba5a99c3f7e5206003f3

export SETUPTOOLS_SCM_PRETEND_VERSION=${version}

post_build() {
mkdir -p build/sphinx/man
python3 -m sphinx -b man docs build/sphinx/man
}

post_install() {
cat > ${DESTDIR}/${py3_sitelib}/afew/version.py <<-EOF
version = "${version}"
EOF
vlicense LICENSE
vman build/sphinx/man/afew.1
}