Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-dominate: update to 2.9.0.
@ 2023-11-16 16:43 benalb
  2023-11-18  7:55 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: benalb @ 2023-11-16 16:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

There is a new pull request by benalb against master on the void-packages repository

https://github.com/benalb/void-packages python3-dominate
https://github.com/void-linux/void-packages/pull/47267

python3-dominate: update to 2.9.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (X86_64-LIBC)


A patch file from https://github.com/void-linux/void-packages/pull/47267.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-dominate-47267.patch --]
[-- Type: text/x-diff, Size: 2813 bytes --]

From 0235e64e3fb5267d2319a3081247727aea97bcee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= <benalb@gmail.com>
Date: Thu, 16 Nov 2023 17:42:16 +0100
Subject: [PATCH] python3-dominate: update to 2.9.0.

---
 .../patches/strip-version.patch               | 22 ------------------
 srcpkgs/python3-dominate/template             | 23 ++++---------------
 2 files changed, 5 insertions(+), 40 deletions(-)
 delete mode 100644 srcpkgs/python3-dominate/patches/strip-version.patch

diff --git a/srcpkgs/python3-dominate/patches/strip-version.patch b/srcpkgs/python3-dominate/patches/strip-version.patch
deleted file mode 100644
index c3fc2bc0f4f1b..0000000000000
--- a/srcpkgs/python3-dominate/patches/strip-version.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Python 3.12 drops the imp module, and rather than implement a convoluted
-replacement for imp.load_source to automatically populate the package version,
-we can just add a placeholder and vsed it in the template.
-
---- ./setup.py.orig	2023-09-29 09:55:31.893470107 -0400
-+++ ./setup.py	2023-09-29 09:56:17.655743399 -0400
-@@ -19,14 +19,11 @@
- 
- from setuptools import setup
- 
--import imp
--_version = imp.load_source("dominate._version", "dominate/_version.py")
--
- long_description = open('README.md').read()
- 
- setup(
-   name    = 'dominate',
--  version = _version.__version__,
-+  version = '@@VERSION@@',
-   author  = 'Tom Flanagan and Jake Wharton',
-   author_email = 'tom@zkpq.ca',
-   license = 'LGPLv3',
diff --git a/srcpkgs/python3-dominate/template b/srcpkgs/python3-dominate/template
index 6990c54131dd1..068f2c7b3fea8 100644
--- a/srcpkgs/python3-dominate/template
+++ b/srcpkgs/python3-dominate/template
@@ -1,9 +1,9 @@
 # Template file for 'python3-dominate'
 pkgname=python3-dominate
-version=2.8.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.9.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 checkdepends="python3-pytest"
 short_desc="Library for creating and manipulating HTML (Python3)"
@@ -11,17 +11,4 @@ maintainer="Benjamín Albiñana <benalb@gmail.com>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/Knio/dominate"
 distfiles="https://github.com/Knio/dominate/archive/${version}.tar.gz"
-checksum=4e55f84b8446fe4338a7acaf60bbb1cb133a81c4c7a46a196b904c9f8387d377
-
-post_patch() {
-	# Adjust the version properly
-	vsed -i -e "s/@@VERSION@@/${version}/" setup.py
-}
-
-pre_check() {
-	# this fix the failed test in i686
-	# https://github.com/Knio/dominate/issues/175
-	if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
-		vsed -i '/3713141171098444831/i  \\t\t1692341442, # i686' tests/test_dom_tag.py
-	fi
-}
+checksum=0a97321ab05fbf0c73be3fa9c250d712721dd61dc4bf1381370320961ce0f58b

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: python3-dominate: update to 2.9.0.
  2023-11-16 16:43 [PR PATCH] python3-dominate: update to 2.9.0 benalb
@ 2023-11-18  7:55 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-11-18  7:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

There's a merged pull request on the void-packages repository

python3-dominate: update to 2.9.0.
https://github.com/void-linux/void-packages/pull/47267

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (X86_64-LIBC)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-18  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 16:43 [PR PATCH] python3-dominate: update to 2.9.0 benalb
2023-11-18  7:55 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).