[Git][debian-gis-team/aggdraw][master] 8 commits: New upstream version 1.3.16
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Fri Jun 9 07:52:16 BST 2023
Antonio Valentino pushed to branch master at Debian GIS Project / aggdraw
Commits:
14322e8d by Antonio Valentino at 2023-06-09T06:29:41+00:00
New upstream version 1.3.16
- - - - -
128e9e03 by Antonio Valentino at 2023-06-09T06:29:44+00:00
Update upstream source from tag 'upstream/1.3.16'
Update to upstream version '1.3.16'
with Debian dir 17db296f5ae5c31bf05053177ff12df2092d8ed0
- - - - -
2035cf1b by Antonio Valentino at 2023-06-09T06:31:35+00:00
New upstream version
- - - - -
18782b7e by Antonio Valentino at 2023-06-09T06:35:54+00:00
Add build dependency on python3-packaging
- - - - -
41b3edc4 by Antonio Valentino at 2023-06-09T06:38:11+00:00
Drop no-distutils.patch, applied upstream
- - - - -
55ccf387 by Antonio Valentino at 2023-06-09T06:45:50+00:00
Add build-dependency on pybuild-plugin-pyproject
- - - - -
de36cab6 by Antonio Valentino at 2023-06-09T06:49:13+00:00
Update dates in d/copyright
- - - - -
de321d71 by Antonio Valentino at 2023-06-09T06:49:14+00:00
Set distribution to unstable
- - - - -
9 changed files:
- .github/workflows/ci.yml
- CHANGELOG.md
- debian/changelog
- debian/control
- debian/copyright
- − debian/patches/no-distutils.patch
- − debian/patches/series
- + pyproject.toml
- setup.py
Changes:
=====================================
.github/workflows/ci.yml
=====================================
@@ -42,7 +42,7 @@ jobs:
env:
CIBW_TEST_COMMAND: python {project}/selftest.py
CIBW_BEFORE_BUILD_LINUX: yum install -y freetype-devel
- CIBW_SKIP: pp* *-musllinux* cp36-*
+ CIBW_SKIP: "cp36-* pp* *-win32 *-manylinux_i686 *-musllinux*"
CIBW_TEST_REQUIRES: numpy pillow pytest
CIBW_ARCHS_LINUX: auto aarch64
# disable finding unintended freetype installations
@@ -67,7 +67,9 @@ jobs:
- uses: actions/setup-python at v2
- name: sdist
- run: python setup.py sdist
+ run: |
+ python -m pip install -U build pip
+ python -m build -s
- name: download
uses: actions/download-artifact at v2
=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,10 @@
# The aggdraw Library
+## Version 1.3.16
+
+- Build changes to support for Python 3.12
+- Drop 32-bit wheel builds
+
## Version 1.3.15
- Fix Python 3.10 compatibility
=====================================
debian/changelog
=====================================
@@ -1,12 +1,16 @@
-aggdraw (1.3.15-3) UNRELEASED; urgency=medium
+aggdraw (1.3.16-1) unstable; urgency=medium
- * Team upload.
+ [ Antonio Valentino ]
+ * New upstream version (Closes: #1032291).
+ * Add build dependency on python3-packaging and pybuild-plugin-pyproject.
+ * Update dates in d/copyright.
+
+ [ Bas Couwenberg ]
* Enable numpy3 dh helper.
* Enable Salsa CI.
* Bump Standards-Version to 4.6.2, no changes.
- * Add patch to not use deprecated distutils module.
- -- Bas Couwenberg <sebastic at debian.org> Wed, 21 Dec 2022 20:29:16 +0100
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Fri, 09 Jun 2023 06:38:52 +0000
aggdraw (1.3.15-2) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -8,9 +8,11 @@ Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-python,
libfreetype-dev,
+ pybuild-plugin-pyproject,
python3-all-dev,
python3-setuptools,
python3-numpy,
+ python3-packaging,
python3-pil,
python3-pkgconfig,
python3-pytest
=====================================
debian/copyright
=====================================
@@ -16,7 +16,7 @@ Copyright: 2002, Maxim Shemanarev (McSeem)
License: agg2
Files: debian/*
-Copyright: 2018-2022, Antonio Valentino <antonio.valentino at tiscali.it>
+Copyright: 2018-2023, Antonio Valentino <antonio.valentino at tiscali.it>
License: aggdraw
License: aggdraw
=====================================
debian/patches/no-distutils.patch deleted
=====================================
@@ -1,46 +0,0 @@
-Description: Don't use deprecated distutils module.
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: https://github.com/pytroll/aggdraw/pull/87
-Applied-Upstream: https://github.com/pytroll/aggdraw/commit/aa0d0e8369f8b3327277979c0ac2ac0782b645a7
-
---- a/setup.py
-+++ b/setup.py
-@@ -16,13 +16,10 @@ import os
- import sys
- import subprocess
- import platform
--from distutils.sysconfig import get_config_var
--from distutils.version import LooseVersion
-+from sysconfig import get_config_var
-
--try:
-- from setuptools import setup, Extension
--except ImportError:
-- from distutils.core import setup, Extension
-+from packaging.version import Version
-+from setuptools import setup, Extension
-
- VERSION = "1.3.15"
-
-@@ -48,9 +45,12 @@ def is_platform_mac():
- # MACOSX_DEPLOYMENT_TARGET before calling setup.py
- if is_platform_mac():
- if 'MACOSX_DEPLOYMENT_TARGET' not in os.environ:
-- current_system = LooseVersion(platform.mac_ver()[0])
-- python_target = LooseVersion(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
-- if python_target < '10.9' and current_system >= '10.9':
-+ current_system = Version(platform.mac_ver()[0])
-+ python_target = Version(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
-+ if (
-+ python_target < Version('10.9') and
-+ current_system >= Version('10.9')
-+ ):
- os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
-
-
---- /dev/null
-+++ b/pyproject.toml
-@@ -0,0 +1,3 @@
-+[build-system]
-+requires = ["packaging", "setuptools"]
-+build-backend = "setuptools.build_meta"
=====================================
debian/patches/series deleted
=====================================
@@ -1 +0,0 @@
-no-distutils.patch
=====================================
pyproject.toml
=====================================
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["packaging", "setuptools"]
+build-backend = "setuptools.build_meta"
=====================================
setup.py
=====================================
@@ -16,15 +16,12 @@ import os
import sys
import subprocess
import platform
-from distutils.sysconfig import get_config_var
-from distutils.version import LooseVersion
+from sysconfig import get_config_var
-try:
- from setuptools import setup, Extension
-except ImportError:
- from distutils.core import setup, Extension
+from packaging.version import Version
+from setuptools import setup, Extension
-VERSION = "1.3.15"
+VERSION = "1.3.16"
SUMMARY = "High quality drawing interface for PIL."
@@ -48,9 +45,12 @@ def is_platform_mac():
# MACOSX_DEPLOYMENT_TARGET before calling setup.py
if is_platform_mac():
if 'MACOSX_DEPLOYMENT_TARGET' not in os.environ:
- current_system = LooseVersion(platform.mac_ver()[0])
- python_target = LooseVersion(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
- if python_target < '10.9' and current_system >= '10.9':
+ current_system = Version(platform.mac_ver()[0])
+ python_target = Version(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
+ if (
+ python_target < Version('10.9') and
+ current_system >= Version('10.9')
+ ):
os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/compare/0815b8bd9996ec42bfbe2e4441108b37cd58f5ec...de321d71d63bcf08ab65c56f541f4c764533cd85
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/compare/0815b8bd9996ec42bfbe2e4441108b37cd58f5ec...de321d71d63bcf08ab65c56f541f4c764533cd85
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230609/df8240dd/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list