py-google-i18n-address: update to 3.1.1

- add py31[3,4] subports
- patch pyproject.toml to avoid https://github.com/mirumee/google-i18n-address/issues/82
This commit is contained in:
Renee Otten
2026-01-16 16:01:14 -05:00
parent 9bc48a3be9
commit 7614dfe649
2 changed files with 38 additions and 5 deletions
+7 -5
View File
@@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python 1.0
name py-google-i18n-address
version 3.1.0
version 3.1.1
revision 0
categories-append devel
@@ -19,16 +19,18 @@ long_description {*}${description}
homepage https://github.com/mirumee/google-i18n-address
checksums rmd160 a8d39f72d097b334f3990d18e5b015fcda35bfc9 \
sha256 8aa28072690e66cd36d7e40878d9daf0e55bc7a0263c31f576e629f8b94ff672 \
size 720252
checksums rmd160 e9af82737a646f76702198a76f7f5dc1bd9a4919 \
sha256 c9ea70e35cb312948651fbbbe4ad4ba97781e129096502fab6ed4e94f629ab0e \
size 721615
distname google_i18n_address-${version}
python.versions 312
python.versions 312 313 314
python.pep517_backend hatch
if {${name} ne ${subport}} {
patchfiles patch-pyproject.toml.diff
depends_lib-append \
port:py${python.version}-requests
}
@@ -0,0 +1,31 @@
--- pyproject.toml.orig 2026-01-16 16:18:55
+++ pyproject.toml 2026-01-16 16:19:24
@@ -41,15 +41,15 @@
[tool.hatch.build]
include = [
- "src/i18naddress/**/*.py",
- "src/i18naddress/**/*.json",
+ "i18naddress/**/*.py",
+ "i18naddress/**/*.json",
]
[tool.hatch.build.targets.wheel]
-packages = ["src/i18naddress"]
+packages = ["i18naddress"]
[tool.hatch.build.targets.sdist]
-packages = ["src/i18naddress"]
+packages = ["i18naddress"]
[tool.hatch.envs.default]
@@ -83,7 +83,7 @@
parallel = true
[tool.coverage.paths]
-i18naddress = ["src/i18naddress"]
+i18naddress = ["i18naddress"]
tests = ["tests"]
[tool.coverage.report]