forked from ports/contrib
python3-logbook: 1.5.3 -> 1.6.0
This commit is contained in:
parent
3f2dec408e
commit
41a37a5b9b
@ -2,30 +2,30 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/PKG-INFO
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/SOURCES.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/dependency_links.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/not-zip-safe
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/requires.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.5.3-py3.10.egg-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/AUTHORS
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/LICENSE
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/WHEEL
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/Logbook-1.6.0.dist-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/logbook/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/logbook/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/__init__.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/__version__.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/_fallback.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/_termcolors.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/base.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/compat.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/concurrency.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/handlers.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/helpers.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/more.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/notifiers.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/queues.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/ticketing.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/utils.cpython-310.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/__init__.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/__version__.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/_fallback.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/_termcolors.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/base.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/compat.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/concurrency.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/handlers.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/helpers.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/more.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/notifiers.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/queues.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/ticketing.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__pycache__/utils.cpython-310.opt-2.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/__version__.py
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/logbook/_fallback.py
|
||||
-rwxr-xr-x root/root usr/lib/python3.10/site-packages/logbook/_speedups.cpython-310-x86_64-linux-gnu.so
|
||||
|
@ -1,7 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF31iwZpqtQpmEVOpUqALZU3aGGTCeKEsw8TeFQmij5etj4/7/A3fFBG2qBoQaXETG/AgzzN5JuZchzt4f8uGzCg8=
|
||||
SHA256 (Pkgfile) = 6b5bce5d5d51091a29365c38d20e11a9bd0e7ec5a82e4252d540ec50eef186c9
|
||||
SHA256 (.footprint) = 96d50381486ec969bdd38e9412f4d92d4d10a646a04f8bc119d70828e799d7eb
|
||||
SHA256 (python3-logbook-1.5.3.tar.gz) = d23a1d2b3dd094adcafb6c7e636f9b88782a6868538f96beb7b10534f9a16557
|
||||
SHA256 (reproducibility.patch) = 251f9ee2b1302ee5e3690ee95e809e8eb40ab04471a5220bb91f36da7f2baa49
|
||||
SHA256 (337.patch) = ed54aad21789431d42705662bba92403661d06a2c60feedb02755c0a96577643
|
||||
RWSagIOpLGJF39UxRYCrYLkPp85udpl/WomoBwcNNKx6NnmPhdkGK27yM+rggEGklaZfOaiGA5PXgRGwIAeL8alg/N483TeZ2As=
|
||||
SHA256 (Pkgfile) = a68eebe745f5af13cadd2ab81ad44435d0541848ef2acc92fa522641cbabf919
|
||||
SHA256 (.footprint) = 9d66a732515abc8f1ff4ecc6ae5a80fa68346dff489a9707e7648137c8aaedd6
|
||||
SHA256 (python3-logbook-1.6.0.tar.gz) = 0ce6733a6f393d40dd7eb27754547b6cc9dc0b3ab3e3f05cc57b28861b2bbc51
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 9dd4e88323909bc33ff6f574b03351a0307ca0a4 Mon Sep 17 00:00:00 2001
|
||||
From: Frazer McLean <frazer@frazermclean.co.uk>
|
||||
Date: Sat, 22 Jul 2023 14:21:42 +0100
|
||||
Subject: [PATCH] group_reflected_property had a __del__ method instead of
|
||||
__delete__
|
||||
|
||||
This was found because Cython 3 complained about __del__ having the
|
||||
wrong signature.
|
||||
---
|
||||
logbook/_speedups.pyx | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/logbook/_speedups.pyx b/logbook/_speedups.pyx
|
||||
index b85961f..a4bb55a 100644
|
||||
--- a/logbook/_speedups.pyx
|
||||
+++ b/logbook/_speedups.pyx
|
||||
@@ -62,7 +62,7 @@ cdef class group_reflected_property:
|
||||
def __set__(self, obj, value):
|
||||
setattr(obj, self._name, value)
|
||||
|
||||
- def __del__(self, obj):
|
||||
+ def __delete__(self, obj):
|
||||
delattr(obj, self._name)
|
||||
|
||||
|
@ -1,24 +1,16 @@
|
||||
# Description: replaces the standard librarys logging module
|
||||
# URL: https://logbook.readthedocs.io/en/stable/
|
||||
# URL: https://github.com/mitsuhiko/logbook/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: python3-cython python3-six
|
||||
|
||||
name=python3-logbook
|
||||
version=1.5.3
|
||||
release=2
|
||||
source=(https://github.com/mitsuhiko/logbook/archive/$version/$name-$version.tar.gz
|
||||
reproducibility.patch
|
||||
337.patch)
|
||||
version=1.6.0
|
||||
release=1
|
||||
source=(https://github.com/mitsuhiko/logbook/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd logbook-$version
|
||||
|
||||
patch -Np1 -i $SRC/reproducibility.patch
|
||||
patch -Np1 -i $SRC/337.patch
|
||||
|
||||
/usr/bin/cython3 logbook/_speedups.pyx
|
||||
/usr/bin/python3 setup.py build
|
||||
/usr/bin/python3 setup.py install --prefix=/usr \
|
||||
--root=$PKG \
|
||||
--skip-build
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
From 7b51f1adbdfd71180b8da9b1462552db32350b1d Mon Sep 17 00:00:00 2001
|
||||
From: Jonas Witschel <diabonas@archlinux.org>
|
||||
Date: Wed, 22 Jul 2020 20:37:56 +0200
|
||||
Subject: [PATCH] setup.py: make ordering of requires.txt reproducible
|
||||
|
||||
Dependencies are stored in unordered sets, leading to a varying requires.txt
|
||||
between different builds. Order the entries to make sure that the file is
|
||||
reproducible bit for bit.
|
||||
---
|
||||
setup.py | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 2f2a5e3..dd00a0c 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -176,6 +176,9 @@ def status_msgs(*msgs):
|
||||
|
||||
extras_require['all'] = set(chain.from_iterable(extras_require.values()))
|
||||
|
||||
+# sort items to make requires.txt reproducible
|
||||
+extras_require = { key: sorted(value) for key, value in extras_require.items() }
|
||||
+
|
||||
|
||||
def run_setup(with_cext):
|
||||
kwargs = {}
|
Loading…
x
Reference in New Issue
Block a user