From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/asttokens/
Date: Thu, 10 Sep 2020 08:49:00 +0000 (UTC) [thread overview]
Message-ID: <1599727731.ff5315fb668a91445664f85c0cf9278b6ae0faec.mgorny@gentoo> (raw)
commit: ff5315fb668a91445664f85c0cf9278b6ae0faec
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 07:54:27 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 08:48:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5315fb
dev-python/asttokens: New package, deep dep of sentry-sdk
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/asttokens/Manifest | 1 +
dev-python/asttokens/asttokens-2.0.4.ebuild | 49 +++++++++++++++++++++++++++++
dev-python/asttokens/metadata.xml | 7 +++++
3 files changed, 57 insertions(+)
diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest
new file mode 100644
index 00000000000..4ba74c49802
--- /dev/null
+++ b/dev-python/asttokens/Manifest
@@ -0,0 +1 @@
+DIST asttokens-2.0.4.gh.tar.gz 46823 BLAKE2B 111ed58c1b657900f830b7b9f521c1f87fd37945ab6ed6e165108fc2371923030b37cae33885e166a524eb8dd5cfad5fe9391a19b7729b7cd504474d1477748d SHA512 49287259d64c43c7460357d19ed95495ab499b0ad7ae0d5a59378ea0332142b574643349d1d3ca56442712ebec14c53167da475915017feb1b524ac190f9dac3
diff --git a/dev-python/asttokens/asttokens-2.0.4.ebuild b/dev-python/asttokens/asttokens-2.0.4.ebuild
new file mode 100644
index 00000000000..1cb502acd19
--- /dev/null
+++ b/dev-python/asttokens/asttokens-2.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Annotate Python AST trees with source text and token information"
+HOMEPAGE="
+ https://github.com/gristlabs/asttokens/
+ https://pypi.org/project/asttokens/"
+SRC_URI="
+ https://github.com/gristlabs/asttokens/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/astroid[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+ local deselect=()
+ [[ ${EPYTHON} == python3.9 ]] && deselect+=(
+ # invalid syntax
+ --deselect
+ tests/test_astroid.py::TestAstroid::test_fixture9
+ --deselect
+ tests/test_astroid.py::TestAstroid::test_splat
+ --deselect
+ tests/test_astroid.py::TestAstroid::test_sys_modules
+ --deselect
+ tests/test_mark_tokens.py::TestMarkTokens::test_fixture9
+ --deselect
+ tests/test_mark_tokens.py::TestMarkTokens::test_splat
+ --deselect
+ tests/test_mark_tokens.py::TestMarkTokens::test_sys_modules
+ )
+ pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/asttokens/metadata.xml b/dev-python/asttokens/metadata.xml
new file mode 100644
index 00000000000..266e3f19ca5
--- /dev/null
+++ b/dev-python/asttokens/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2020-09-10 8:49 UTC|newest]
Thread overview: 92+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 8:49 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-11 18:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/asttokens/ Sam James
2020-09-12 18:53 Michał Górny
2020-09-13 8:59 Sam James
2020-09-13 9:04 Sam James
2020-09-16 3:01 Sam James
2020-09-18 23:58 Sam James
2020-10-19 20:13 Sam James
2020-11-14 19:00 Sam James
2020-11-18 10:45 Sam James
2020-11-20 13:42 Sam James
2021-01-18 14:52 Sam James
2021-04-20 13:02 Michał Górny
2021-05-25 16:55 Sam James
2021-05-26 6:49 Agostino Sarubbo
2021-05-26 8:11 Sam James
2021-05-26 13:17 Sam James
2021-05-26 13:31 Michał Górny
2021-07-06 7:13 Michał Górny
2022-01-15 9:55 Arthur Zamarin
2022-01-15 11:41 Yixun Lan
2022-01-21 12:25 Sam James
2022-02-04 12:04 Michał Górny
2022-03-18 9:16 Arthur Zamarin
2022-03-20 18:11 Arthur Zamarin
2022-05-05 5:29 Arthur Zamarin
2022-05-07 17:52 Arthur Zamarin
2022-05-08 4:08 Sam James
2022-07-29 10:12 Arthur Zamarin
2022-07-29 10:12 Arthur Zamarin
2022-08-11 9:59 Michał Górny
2022-08-15 19:06 Arthur Zamarin
2022-09-10 22:37 Jakov Smolić
2022-09-10 22:57 Jakov Smolić
2022-09-10 22:57 Jakov Smolić
2022-09-11 7:55 Agostino Sarubbo
2022-09-11 7:55 Agostino Sarubbo
2022-09-16 8:40 Arthur Zamarin
2022-09-16 18:43 Arthur Zamarin
2022-09-16 19:12 Arthur Zamarin
2022-09-16 20:32 Michał Górny
2022-09-19 20:22 Arthur Zamarin
2022-09-19 20:24 Arthur Zamarin
2022-09-19 20:30 Arthur Zamarin
2022-09-19 20:44 Jakov Smolić
2022-09-19 20:44 Jakov Smolić
2022-09-20 0:07 Sam James
2022-09-20 0:07 Sam James
2022-09-20 7:43 Jakov Smolić
2022-09-20 8:08 Michał Górny
2022-10-30 6:39 Michał Górny
2022-11-29 7:27 Arthur Zamarin
2022-11-29 7:33 Arthur Zamarin
2022-11-29 8:11 Arthur Zamarin
2022-11-29 8:11 Arthur Zamarin
2022-11-29 8:11 Arthur Zamarin
2022-11-29 20:18 Arthur Zamarin
2022-11-30 0:52 Sam James
2022-11-30 0:52 Sam James
2022-11-30 9:51 Arthur Zamarin
2022-11-30 13:22 Michał Górny
2022-12-06 6:02 Michał Górny
2023-01-07 12:44 Arthur Zamarin
2023-01-07 12:44 Arthur Zamarin
2023-01-07 12:48 Arthur Zamarin
2023-01-07 12:48 Arthur Zamarin
2023-01-07 12:55 Arthur Zamarin
2023-01-07 14:44 Arthur Zamarin
2023-01-07 18:21 Arthur Zamarin
2023-01-10 8:40 Arthur Zamarin
2023-01-10 8:42 Arthur Zamarin
2023-09-02 14:11 Michał Górny
2023-09-05 5:54 Michał Górny
2023-10-06 14:29 Sam James
2023-10-06 14:29 Sam James
2023-10-06 14:30 Arthur Zamarin
2023-10-06 14:31 Sam James
2023-10-06 14:55 Sam James
2023-10-06 19:02 Sam James
2023-10-07 4:43 Michał Górny
2023-10-24 15:39 Michał Górny
2023-10-26 12:19 Michał Górny
2023-11-10 5:47 Viorel Munteanu
2023-11-16 17:11 Michał Górny
2023-11-29 10:12 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 12:30 Arthur Zamarin
2023-11-29 14:00 Arthur Zamarin
2023-11-29 14:42 Arthur Zamarin
2023-11-29 15:15 Arthur Zamarin
2023-11-29 15:29 Michał Górny
2024-07-08 19:22 Michał Górny
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=1599727731.ff5315fb668a91445664f85c0cf9278b6ae0faec.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