diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-27 12:07:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-27 13:00:20 +0200 |
commit | b98dada7f5fb8026d33d2743451e62af63240327 (patch) | |
tree | b8867ea84b1286d96bffdb0e88adacb32ebf2521 /dev-python/twisted/twisted-19.10.0.ebuild | |
parent | dev-vcs/git: Bump to version 2.27.0_rc2. Removed old (diff) | |
download | gentoo-b98dada7f5fb8026d33d2743451e62af63240327.tar.gz gentoo-b98dada7f5fb8026d33d2743451e62af63240327.tar.bz2 gentoo-b98dada7f5fb8026d33d2743451e62af63240327.zip |
dev-python/twisted: Fix 19.10.0 on py3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/twisted/twisted-19.10.0.ebuild')
-rw-r--r-- | dev-python/twisted/twisted-19.10.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/twisted/twisted-19.10.0.ebuild b/dev-python/twisted/twisted-19.10.0.ebuild index 53a20c32ca01..46a5d0dbc960 100644 --- a/dev-python/twisted/twisted-19.10.0.ebuild +++ b/dev-python/twisted/twisted-19.10.0.ebuild @@ -17,6 +17,7 @@ HOMEPAGE="https://www.twistedmatrix.com/trac/" SRC_URI="https://twistedmatrix.com/Releases/${TWISTED_PN}" SRC_URI="${SRC_URI}/${TWISTED_RELEASE}/${TWISTED_P}.tar.bz2 https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz" +S=${WORKDIR}/${TWISTED_P} KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" @@ -79,9 +80,14 @@ DEPEND=" ) " -S=${WORKDIR}/${TWISTED_P} python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/${P}-py38.patch + "${FILESDIR}"/twisted-20.3.0-py38-cgi.patch + "${FILESDIR}"/twisted-20.3.0-py38-hmac.patch + ) + # upstream test for making releases; not very useful and requires # sphinx (including on py2) rm src/twisted/python/test/test_release.py || die |