Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-tubes
Commits:
c86ab0f3 by Jelle van der Waa at 2024-12-28T19:49:54+01:00
Drop unneeded python-six dependency
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + remove-stale-six-dependency.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = python-tubes
pkgdesc = A data-processing and flow-control engine for event-driven
programs
pkgver = 0.2.1
- pkgrel = 7
+ pkgrel = 8
url = https://github.com/twisted/Tubes
arch = any
license = MIT
makedepends = python-setuptools
depends = python
- depends = python-six
depends = python-twisted
source =
https://github.com/twisted/tubes/archive/v0.2.1/tubes-v0.2.1.tar.gz
source = py312.patch
+ source = remove-stale-six-dependency.patch
sha512sums =
6f4666f1591c96d0d7f0514f511ad700f6c3976fcf561f0d967f26aead089e682540b74f85b26a68ff6877d5d7775654c9f6959d8a41c25804375ca837ac1815
sha512sums =
793ac1e3aa02f7e5fdd2391aa36227311e9d7ff72b9604d52160055dee74a30f90e8b185f0f2d3b121de0541dda542bf21f517c330e82c3782d01b7f985618b2
+ sha512sums =
eac7169f3e44f2aba113abdf397e30b3bfe9b61d4d322617fd1b31c491910012c56fc2c7e8d9c244b33fc7e5e5260af243593985539f569d84aa21dfec591bc0
pkgname = python-tubes
=====================================
PKGBUILD
=====================================
@@ -2,23 +2,28 @@
pkgname=python-tubes
pkgver=0.2.1
-pkgrel=7
+pkgrel=8
arch=(any)
pkgdesc='A data-processing and flow-control engine for event-driven programs'
url='https://github.com/twisted/Tubes'
license=(MIT)
-depends=(python python-six python-twisted)
+depends=(python python-twisted)
makedepends=(python-setuptools)
source=("https://github.com/twisted/tubes/archive/v$pkgver/tubes-v$pkgver.tar.gz"
- "py312.patch")
+ "py312.patch"
+ "remove-stale-six-dependency.patch")
sha512sums=('6f4666f1591c96d0d7f0514f511ad700f6c3976fcf561f0d967f26aead089e682540b74f85b26a68ff6877d5d7775654c9f6959d8a41c25804375ca837ac1815'
-
'793ac1e3aa02f7e5fdd2391aa36227311e9d7ff72b9604d52160055dee74a30f90e8b185f0f2d3b121de0541dda542bf21f517c330e82c3782d01b7f985618b2')
+
'793ac1e3aa02f7e5fdd2391aa36227311e9d7ff72b9604d52160055dee74a30f90e8b185f0f2d3b121de0541dda542bf21f517c330e82c3782d01b7f985618b2'
+
'eac7169f3e44f2aba113abdf397e30b3bfe9b61d4d322617fd1b31c491910012c56fc2c7e8d9c244b33fc7e5e5260af243593985539f569d84aa21dfec591bc0')
prepare() {
cd tubes-$pkgver
# Cherry-pick
https://github.com/twisted/tubes/commit/dac81e7c934ab0f7afaba9e7894e3770c5859b77
# Part of https://github.com/twisted/tubes/pull/95 (merged)
patch -Np1 -i ../py312.patch
+
+ # Drop stale python-six dependency
+ patch -Np1 -i ${srcdir}/remove-stale-six-dependency.patch
}
build() {
=====================================
remove-stale-six-dependency.patch
=====================================
@@ -0,0 +1,21 @@
+From 3dfd56fb6bbfaabe2c8d62a42badc4766c06cb04 Mon Sep 17 00:00:00 2001
+From: Alexandre Detiste <[email protected]>
+Date: Tue, 27 Aug 2024 23:52:11 +0200
+Subject: [PATCH] remove stale dependency on six
+
+---
+ setup.cfg | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 914689f..9f8e9cd 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -8,7 +8,6 @@ url = https://github.com/twisted/tubes/
+ [options]
+ packages = find:
+ install_requires =
+- six
+ Twisted
+
+ [bdist_wheel]
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tubes/-/commit/c86ab0f31f8bcf962e6a33002fedf6c768b453ff
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tubes/-/commit/c86ab0f31f8bcf962e6a33002fedf6c768b453ff
You're receiving this email because of your account on gitlab.archlinux.org.