Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
python-tubes: backport a fix for setuptools >= 59
Browse files Browse the repository at this point in the history
Closes https://bugs.archlinux.org/task/73510

Although setuptools >= 59.4.0 has reverted the backward-incompatible
change [1], Arch package is not updated yet.

[1] pypa/setuptools#2893



git-svn-id: file:///srv/repos/svn-community/svn@1115671 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
yan12125 committed Jan 26, 2022
1 parent 8e4f995 commit 2e7bc71
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions python-tubes/trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ url='https://github.com/twisted/Tubes'
license=(MIT)
depends=(python python-characteristic python-six python-twisted)
makedepends=(python-setuptools)
source=("https://github.com/twisted/tubes/archive/v$pkgver/tubes-v$pkgver.tar.gz")
sha512sums=('6039a3059b61f8a0c84d4e10bb47d9f2bb95505b0353cb0f1eefb6942f0ad0d88c9b02ff0d48ed0300d615d3e3203c5e884990cd6d006c2f1dbd18b88fcb2e9e')
source=("https://github.com/twisted/tubes/archive/v$pkgver/tubes-v$pkgver.tar.gz"
"https://github.com/graingert/tubes/commit/e01fc9cbbe48327f9d399c1ee2b0b0dfa6ed6204.patch")
sha512sums=('6039a3059b61f8a0c84d4e10bb47d9f2bb95505b0353cb0f1eefb6942f0ad0d88c9b02ff0d48ed0300d615d3e3203c5e884990cd6d006c2f1dbd18b88fcb2e9e'
'7bef93c5bbd6d071c1a7f18526608e401d45d6fc8ec91a885affb4ae4fc11da2fa31397cf5f4b1302d7acf3378928fa9105e117ad32c067e2352ae5a8506d1cc')

prepare() {
cd tubes-$pkgver
# Part of https://github.com/twisted/tubes/pull/89; for fixing building with setuptools>=59
patch -Np1 -i ../e01fc9cbbe48327f9d399c1ee2b0b0dfa6ed6204.patch
}

build() {
cd tubes-$pkgver
Expand Down

0 comments on commit 2e7bc71

Please sign in to comment.