From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/
Date: Wed, 15 Jul 2020 08:06:45 +0000 (UTC) [thread overview]
Message-ID: <1594800395.c38a0c214c0a100f4bcc66942b67654c8f9791b5.juippis@gentoo> (raw)
commit: c38a0c214c0a100f4bcc66942b67654c8f9791b5
Author: Nils Freydank <nils.freydank <AT> posteo <DOT> de>
AuthorDate: Mon Jul 6 12:23:22 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 08:06:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38a0c21
app-text/pytextile: Bump to 4.0.1 and support python3_9
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-text/pytextile/Manifest | 1 +
app-text/pytextile/pytextile-4.0.1.ebuild | 56 +++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest
index 16cdcb6a803..692dc66e6b3 100644
--- a/app-text/pytextile/Manifest
+++ b/app-text/pytextile/Manifest
@@ -1 +1,2 @@
DIST pytextile-3.0.3.tar.gz 48560 BLAKE2B f8d3077e2b8e4de7157dcd9ed17f7889301946c2d3034dbbb0171b4930bd7268c65ce1f950552db2b783aa48acae639d5f4ccfcbca96807562b4a6377c3dd220 SHA512 142fe77c8858b0444428f9ca0f24d1a054a1566f85f00fd5cf860bb705a19666249cd03420d258d5acfc9f45052dd25e52767492a60a10d986d86b711b54612f
+DIST pytextile-4.0.1.tar.gz 49282 BLAKE2B b51220ff33fe43b83d0aefee840b5170747015073fbe88934798c2505c3455e9805eee8815ec8068521c88a44a309bd0eb32e84757d088536f1c12a1f9bc0ca0 SHA512 e299663fd71b935e9c948649baba80584b1339dd3393a3f37b39475fe1d6a4addaaa2adcd16ba57b4c5db43ab9f8de6e9332871915b1fff7b7882ad5e8d64580
diff --git a/app-text/pytextile/pytextile-4.0.1.ebuild b/app-text/pytextile/pytextile-4.0.1.ebuild
new file mode 100644
index 00000000000..a5e8b653f7f
--- /dev/null
+++ b/app-text/pytextile/pytextile-4.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+MY_PN="python-textile"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Python port of Textile, A humane web text generator"
+HOMEPAGE="https://github.com/textile/python-textile"
+SRC_URI="https://github.com/textile/python-textile/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/html5lib[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ # remove useless --cov arg injection
+ rm pytest.ini || die
+ # remove useless pytest-runner dep
+ sed -e "s/pytest-runner//g" -i setup.py || die
+
+ # remove tests that need network access
+ local my_drop_tests=(
+ test_getimagesize.py
+ test_imagesize.py
+ test_textile.py
+ )
+ for test in ${my_drop_tests[@]};
+ do rm "tests/$test" || die
+ done
+}
+
+python_test() {
+ pytest || die "Testsuite failed under ${EPYTHON}"
+}
next reply other threads:[~2020-07-15 8:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 8:06 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-11 16:17 [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/ Michał Górny
2023-03-11 16:00 Sam James
2023-02-27 18:02 Michał Górny
2021-08-02 8:17 Michał Górny
2021-08-02 8:17 Michał Górny
2021-08-02 8:17 Michał Górny
2021-08-02 8:17 Michał Górny
2021-05-31 20:22 Michał Górny
2020-08-31 1:26 Sam James
2020-08-22 5:50 Agostino Sarubbo
2020-08-17 7:01 Agostino Sarubbo
2020-08-15 7:31 Sergei Trofimovich
2020-07-15 8:06 Joonas Niilola
2020-03-07 15:03 Michał Górny
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07 9:44 Agostino Sarubbo
2020-03-07 8:59 Agostino Sarubbo
2020-02-11 11:38 Michał Górny
2018-10-16 0:01 Virgil Dupras
2018-10-16 0:01 Virgil Dupras
2018-06-27 19:29 Pacho Ramos
2017-02-18 9:54 David Seifert
2017-01-21 17:16 Agostino Sarubbo
2016-10-01 20:15 Patrick Lauer
2016-07-18 8:42 Patrick Lauer
2016-07-17 14:37 Patrick Lauer
2015-10-15 9:01 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1594800395.c38a0c214c0a100f4bcc66942b67654c8f9791b5.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox