Package Details: python-pymilter 1.0.6.20751ea-1

Git Clone URL: https://aur.archlinux.org/python-pymilter.git (read-only, click to copy)
Package Base: python-pymilter
Description: Python bindings for libmilter API
Upstream URL: https://github.com/sdgathman/pymilter
Keywords: milter
Licenses: GPL-2.0-only
Submitter: morgenstern
Maintainer: morgenstern
Last Packager: morgenstern
Votes: 1
Popularity: 0.000000
First Submitted: 2020-03-22 06:38 (UTC)
Last Updated: 2025-06-22 10:31 (UTC)

Latest Comments

morgenstern commented on 2025-06-22 10:34 (UTC)

Thanks @zootboy - I have pushed an updated PKGBUILD based on your suggested one.

zootboy commented on 2025-06-19 05:57 (UTC)

This package currently doesn't build due to GCC 15 defaults conflicting with libmilter code. There is a PR, but it hasn't made it to a release yet. I did a quick revision of the PKGBUILD to cherry-pick that commit. Feel free to use it until there's a new release:

# Maintainer: Morgenstern <charles [at] charlesbwise [dot] com>
# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
# Contributor: Sean Greenslade <aur AT seangreenslade DOT com>

pkgname=python-pymilter
pkgver=1.0.6
pkgrel=2
pkgdesc="Python bindings for libmilter API"
arch=('x86_64')
url="https://github.com/sdgathman/${pkgname##*-}"
license=('GPL-2.0-only')
depends=('python')
makedepends=('libmilter'
             'python-build'
             'python-installer'
             'python-setuptools'
             'python-wheel')
source=("${pkgname}::git+${url}.git#tag=${pkgname##*-}-${pkgver}")
sha512sums=('e7310143e934410cc6090ef9dd4aba26d0a10e8a8fd34cb207b2faa4819d613881f232a84618df18a5e27ca112378f33fff6b49f415c2bcc454aab48646dd349')

prepare() {
  cd "${pkgname}" 
  git cherry-pick --no-commit 20751ea7060741a2ce16e762daae87220f0e8a76
}

build() {
  cd "${pkgname}" 
  python -m build --wheel --no-isolation
}

package() {
  cd "${pkgname}"
  python -m installer --destdir="${pkgdir}" dist/*.whl
}

GeneArch commented on 2023-04-29 11:51 (UTC)

python 3.11 (now in testing) gives deprecation warning when building - see:

https://github.com/sdgathman/pymilter/issues/54