* [PR PATCH] python3-quart: update to 0.13.1; update dependents and drop noarch
@ 2020-09-10 3:35 ahesford
2020-09-10 3:50 ` [PR PATCH] [Closed]: " ahesford
0 siblings, 1 reply; 2+ messages in thread
From: ahesford @ 2020-09-10 3:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
There is a new pull request by ahesford against master on the void-packages repository
https://github.com/ahesford/void-packages quart
https://github.com/void-linux/void-packages/pull/24796
python3-quart: update to 0.13.1; update dependents and drop noarch
A patch file from https://github.com/void-linux/void-packages/pull/24796.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-quart-24796.patch --]
[-- Type: text/x-diff, Size: 5170 bytes --]
From edbfbcafecffe5add41b3011a21a57f8950c2f51 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 9 Sep 2020 23:14:37 -0400
Subject: [PATCH 1/3] python-Jinja2: update to 2.11.2.
---
srcpkgs/python-Jinja2/template | 20 ++++++++------------
srcpkgs/python-Jinja2/update | 1 +
2 files changed, 9 insertions(+), 12 deletions(-)
create mode 100644 srcpkgs/python-Jinja2/update
diff --git a/srcpkgs/python-Jinja2/template b/srcpkgs/python-Jinja2/template
index 3fcd44dc198..a1d57f364fe 100644
--- a/srcpkgs/python-Jinja2/template
+++ b/srcpkgs/python-Jinja2/template
@@ -1,40 +1,36 @@
# Template file for 'python-Jinja2'
pkgname=python-Jinja2
-version=2.10.1
-revision=2
-archs=noarch
+version=2.11.2
+revision=1
wrksrc="Jinja2-${version}"
build_style=python-module
-pycompile_module="jinja2"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-MarkupSafe"
-checkdepends="python-MarkupSafe python3-MarkupSafe python-pytest python3-pytest"
+checkdepends="tox python-MarkupSafe python3-MarkupSafe python-pytest python3-pytest"
short_desc="Full featured template engine (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="http://jinja.pocoo.org/"
+changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
-checksum=065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013
+checksum=89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0
do_check() {
- python2 -m pytest tests/
- python3 -m pytest tests/
+ tox -e py,py27,docs
}
post_install() {
- vlicense LICENSE
+ vlicense LICENSE.rst
# these files are valid only on Python 3.6+
rm -f ${DESTDIR}/${py2_sitelib}/jinja2/asyncsupport.py
rm -f ${DESTDIR}/${py2_sitelib}/jinja2/asyncfilters.py
}
python3-Jinja2_package() {
- archs=noarch
depends="python3-MarkupSafe"
- pycompile_module="jinja2"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
- vlicense LICENSE
+ vlicense LICENSE.rst
}
}
diff --git a/srcpkgs/python-Jinja2/update b/srcpkgs/python-Jinja2/update
new file mode 100644
index 00000000000..3077367c019
--- /dev/null
+++ b/srcpkgs/python-Jinja2/update
@@ -0,0 +1 @@
+pattern="Jinja2-\K[0-9.]+(?=.tar.gz)"
From cf1bb23dce9ece8c1447701e7e4aed504910a262 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 9 Sep 2020 22:58:26 -0400
Subject: [PATCH 2/3] python-itsdangerous: ignore pre-releases, drop noarch
---
srcpkgs/python-itsdangerous/template | 4 +---
srcpkgs/python-itsdangerous/update | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/python-itsdangerous/update
diff --git a/srcpkgs/python-itsdangerous/template b/srcpkgs/python-itsdangerous/template
index fe51cc78a9b..821988fff07 100644
--- a/srcpkgs/python-itsdangerous/template
+++ b/srcpkgs/python-itsdangerous/template
@@ -1,8 +1,7 @@
# Template file for 'python-itsdangerous'
pkgname=python-itsdangerous
version=1.1.0
-revision=1
-archs=noarch
+revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
@@ -20,7 +19,6 @@ post_install() {
}
python3-itsdangerous_package() {
- archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
diff --git a/srcpkgs/python-itsdangerous/update b/srcpkgs/python-itsdangerous/update
new file mode 100644
index 00000000000..e319a2ccd7f
--- /dev/null
+++ b/srcpkgs/python-itsdangerous/update
@@ -0,0 +1 @@
+pattern="itsdangerous-\K[0-9.]+(?=.tar.gz)"
From 6b5642648b377c4a82882e017fb81655353086e6 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 9 Sep 2020 22:55:35 -0400
Subject: [PATCH 3/3] python3-quart: update to 0.13.1.
---
srcpkgs/python3-quart/template | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-quart/template b/srcpkgs/python3-quart/template
index 8e0e7d59be7..ce8d614db00 100644
--- a/srcpkgs/python3-quart/template
+++ b/srcpkgs/python3-quart/template
@@ -1,22 +1,19 @@
# Template file for 'python3-quart'
pkgname=python3-quart
-version=0.13.0
+version=0.13.1
revision=1
-archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="
- python3-aiofiles python3-hypercorn python3-click
- python3-blinker python3-itsdangerous python3-Jinja2 python3-Werkzeug
-"
+depends="python3-aiofiles python3-hypercorn python3-click
+ python3-blinker python3-itsdangerous python3-Jinja2 python3-Werkzeug"
short_desc="Python asyncio ASGI web framework with Flask API"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://gitlab.com/pgjones/quart"
changelog="https://gitlab.com/pgjones/quart/-/blob/master/CHANGELOG.rst"
distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz"
-checksum=2588556e41791adc81785e0df0b5b22979772ad44829fa7787453fe3ea0a69ce
+checksum=8578dd11ccd292916dba020772f54755f6d39bdd3723e26748db72ef614ec2ca
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: python3-quart: update to 0.13.1; update dependents and drop noarch
2020-09-10 3:35 [PR PATCH] python3-quart: update to 0.13.1; update dependents and drop noarch ahesford
@ 2020-09-10 3:50 ` ahesford
0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2020-09-10 3:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
There's a closed pull request on the void-packages repository
python3-quart: update to 0.13.1; update dependents and drop noarch
https://github.com/void-linux/void-packages/pull/24796
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-10 3:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 3:35 [PR PATCH] python3-quart: update to 0.13.1; update dependents and drop noarch ahesford
2020-09-10 3:50 ` [PR PATCH] [Closed]: " ahesford
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).