mail/py-pymilter: patch some incorrect version number references

Looks like upstream's attempt to release version 1.0.6 didn't quite go
all the way.  There are other refences to 1.0.5 still in the source
tarball, but those aren't involved in building the pkg, so ignored.

Reported by:	Herbert J Shukra
This commit is contained in:
Matthew Seaman
2025-05-08 17:08:15 +01:00
parent cfd0b2017b
commit 4fb194ad52
3 changed files with 23 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
PORTNAME= pymilter
DISTVERSION= 1.0.6
PORTREVISION= 1
DISTVERSIONPREFIX= ${GH_PROJECT}-
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -0,0 +1,11 @@
--- Milter/__init__.py.orig 2025-05-08 14:18:12 UTC
+++ Milter/__init__.py
@@ -9,7 +9,7 @@ from __future__ import print_function
# This code is under the GNU General Public License. See COPYING for details.
from __future__ import print_function
-__version__ = '1.0.5'
+__version__ = '1.0.6'
import os
import re
+11
View File
@@ -0,0 +1,11 @@
--- setup.py.orig 2025-05-08 14:17:14 UTC
+++ setup.py
@@ -17,7 +17,7 @@ modules = ["mime"]
modules = ["mime"]
# NOTE: importing Milter to obtain version fails when milter.so not built
-setup(name = "pymilter", version = '1.0.5',
+setup(name = "pymilter", version = '1.0.6',
description="Python interface to sendmail milter API",
long_description=long_description,
long_description_content_type='text/markdown',