Giovanni Harting pushed to branch main at Arch Linux / Packaging / Packages /
python-chacha20poly1305-reuseable
Commits:
019093e3 by Giovanni Harting at 2024-11-20T10:57:44+01:00
upgpkg: 0.13.2-3: rebuild for Python 3.13
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + remove-setuptools-dependency.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-chacha20poly1305-reuseable
pkgdesc = A reusable version of ChaCha20Poly1305 for use with
cryptography and asyncio
pkgver = 0.13.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/bdraco/chacha20poly1305-reuseable
arch = any
license = Apache-2.0
@@ -9,10 +9,12 @@ pkgbase = python-chacha20poly1305-reuseable
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
- makedepends = python-poetry
+ makedepends = python-poetry-core
depends = python
depends = python-cryptography
source =
git+https://github.com/bdraco/chacha20poly1305-reuseable.git#tag=v0.13.2
+ source = remove-setuptools-dependency.patch
b2sums =
78a2f6006ded87ab065183788f717af690164ff05caee46ba552707a5dd56caa4a38b5c2a535c059e9e02826f9844cad80a63b12e3551215a1a83dbd33a17165
+ b2sums =
f64dd4881b4ce99fa6e6883adf692a061ce3ebb4064c3e20672bfb0dd9e1d0ed8294c12a8626c336cd2844b8a1bc915fdedbef5dd2cf1de413eb994556995f36
pkgname = python-chacha20poly1305-reuseable
=====================================
PKGBUILD
=====================================
@@ -4,15 +4,24 @@
pkgname=python-chacha20poly1305-reuseable
_name=${pkgname#python-}
pkgver=0.13.2
-pkgrel=2
+pkgrel=3
pkgdesc='A reusable version of ChaCha20Poly1305 for use with cryptography and
asyncio'
arch=(any)
url='https://github.com/bdraco/chacha20poly1305-reuseable'
license=(Apache-2.0)
depends=(python python-cryptography)
-makedepends=(git python-build python-installer python-wheel python-poetry)
-source=("git+$url.git#tag=v$pkgver")
-b2sums=('78a2f6006ded87ab065183788f717af690164ff05caee46ba552707a5dd56caa4a38b5c2a535c059e9e02826f9844cad80a63b12e3551215a1a83dbd33a17165')
+makedepends=(git python-build python-installer python-wheel python-poetry-core)
+source=("git+$url.git#tag=v$pkgver"
+ remove-setuptools-dependency.patch)
+b2sums=('78a2f6006ded87ab065183788f717af690164ff05caee46ba552707a5dd56caa4a38b5c2a535c059e9e02826f9844cad80a63b12e3551215a1a83dbd33a17165'
+
'f64dd4881b4ce99fa6e6883adf692a061ce3ebb4064c3e20672bfb0dd9e1d0ed8294c12a8626c336cd2844b8a1bc915fdedbef5dd2cf1de413eb994556995f36')
+
+prepare() {
+ cd $_name
+
+ # remove setuptools dependency
+ patch -p1 < ../remove-setuptools-dependency.patch
+}
build() {
cd $_name
=====================================
remove-setuptools-dependency.patch
=====================================
@@ -0,0 +1,25 @@
+From f180f6b1ce8afbe0131cc42d2318e89d8604b4cc Mon Sep 17 00:00:00 2001
+From: Giovanni Harting <[email protected]>
+Date: Wed, 20 Nov 2024 10:51:02 +0100
+Subject: [PATCH] remove setuptools dependency
+
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 63cbfbf..2f9fba1 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -93,7 +93,7 @@ module = "tests.*"
+ allow_untyped_defs = true
+
+ [build-system]
+-requires = ['setuptools>=65.4.1', 'wheel', "poetry-core>=1.0.0"]
++requires = ['wheel', "poetry-core>=1.0.0"]
+ build-backend = "poetry.core.masonry.api"
+
+ [tool.codespell]
+--
+2.47.0
+
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-chacha20poly1305-reuseable/-/commit/019093e3881dd2a1445b84f4c9f6eb9f9ff90614
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-chacha20poly1305-reuseable/-/commit/019093e3881dd2a1445b84f4c9f6eb9f9ff90614
You're receiving this email because of your account on gitlab.archlinux.org.