From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypugjs/
Date: Fri, 24 May 2024 11:09:25 +0000 (UTC) [thread overview]
Message-ID: <1716548959.27fbb3a4337a6c38c24a5e420f240c48b646071d.mgorny@gentoo> (raw)
commit: 27fbb3a4337a6c38c24a5e420f240c48b646071d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 09:55:51 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 24 11:09:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27fbb3a4
dev-python/pypugjs: Fix more pyproject.toml issues
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{pypugjs-5.10.1.ebuild => pypugjs-5.10.1-r1.ebuild} | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-python/pypugjs/pypugjs-5.10.1.ebuild b/dev-python/pypugjs/pypugjs-5.10.1-r1.ebuild
similarity index 76%
rename from dev-python/pypugjs/pypugjs-5.10.1.ebuild
rename to dev-python/pypugjs/pypugjs-5.10.1-r1.ebuild
index db189115ef63..8d98fdb25de6 100644
--- a/dev-python/pypugjs/pypugjs-5.10.1.ebuild
+++ b/dev-python/pypugjs/pypugjs-5.10.1-r1.ebuild
@@ -9,7 +9,10 @@ PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 optfeature
DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates"
-HOMEPAGE="https://github.com/kakulukia/pypugjs"
+HOMEPAGE="
+ https://github.com/kakulukia/pypugjs/
+ https://pypi.org/project/pypugjs/
+"
SRC_URI="
https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
@@ -38,6 +41,12 @@ distutils_enable_tests pytest
src_prepare() {
# poetry nonsense
sed -i -e 's:\^:>=:' pyproject.toml || die
+ # upstream hardcodes wrong version, and puts test dependencies
+ # in regular depenendencies, so discard the whole thing
+ sed -e "/version/s:5\.9\.12:${PV}:" \
+ -e 's:tool\.poetry\.dependencies:tool.poetry.group.ignored.dependencies:' \
+ -i pyproject.toml || die
+
distutils-r1_src_prepare
}
next reply other threads:[~2024-05-24 11:09 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 11:09 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-05 20:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypugjs/ Petr Vaněk
2024-06-08 9:02 Michał Górny
2024-06-08 7:15 Arthur Zamarin
2024-05-24 12:18 Michał Górny
2024-05-24 12:18 Michał Górny
2024-05-24 4:03 Michał Górny
2024-03-14 19:19 Sam James
2023-12-25 6:43 Sam James
2023-08-25 1:07 Brian Dolbec
2023-03-07 9:23 Sam James
2022-11-14 5:05 Michał Górny
2022-07-29 10:12 Arthur Zamarin
2022-06-05 5:40 Michał Górny
2022-05-16 13:24 Michał Górny
2022-04-01 12:27 Michał Górny
2022-03-14 10:32 Yixun Lan
2022-01-08 10:36 Arthur Zamarin
2021-10-17 9:20 Michał Górny
2021-09-03 8:17 Arthur Zamarin
2021-09-03 8:17 Arthur Zamarin
2021-04-27 22:54 Sam James
2021-03-28 22:16 Brian Dolbec
2021-03-28 22:16 Brian Dolbec
2021-01-29 21:46 Brian Dolbec
2020-10-14 13:28 Brian Dolbec
2020-05-15 7:53 Brian Dolbec
2020-05-08 23:10 Brian Dolbec
2020-05-08 20:34 Brian Dolbec
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=1716548959.27fbb3a4337a6c38c24a5e420f240c48b646071d.mgorny@gentoo \
--to=mgorny@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