public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/phply/
Date: Fri,  5 Feb 2021 08:47:20 +0000 (UTC)	[thread overview]
Message-ID: <1612514604.79a654bc2bd85a000ed81211ee9fe64234ba19ce.mgorny@gentoo> (raw)

commit:     79a654bc2bd85a000ed81211ee9fe64234ba19ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  5 08:35:36 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  5 08:43:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a654bc

dev-python/phply: New package, dep of translate-toolkit

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/phply/Manifest           |  1 +
 dev-python/phply/metadata.xml       | 12 ++++++++++++
 dev-python/phply/phply-1.2.5.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-python/phply/Manifest b/dev-python/phply/Manifest
new file mode 100644
index 00000000000..d0382784c41
--- /dev/null
+++ b/dev-python/phply/Manifest
@@ -0,0 +1 @@
+DIST phply-1.2.5.gh.tar.gz 35624 BLAKE2B 99fe9704cef570ad3055fa6c5aaaaed866d3c41c1479efbd29bb3224ae666d2ba13ccca61e6d67a8a0da4542dec79b5fdd201254e1ad638de81fa762049f4d13 SHA512 f0e4d0a6d2dfad5163fb68660602482b6de58c0dbd60d8db2f1df0622a9da3cc24e5fd309299a4a9ccf7abde081644a9a91fac8a2800520859199060f4080dc4

diff --git a/dev-python/phply/metadata.xml b/dev-python/phply/metadata.xml
new file mode 100644
index 00000000000..5b25b95df30
--- /dev/null
+++ b/dev-python/phply/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">phply</remote-id>
+		<remote-id type="github">viraptor/phply</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/phply/phply-1.2.5.ebuild b/dev-python/phply/phply-1.2.5.ebuild
new file mode 100644
index 00000000000..eddb961c438
--- /dev/null
+++ b/dev-python/phply/phply-1.2.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="Lexer and parser for PHP source implemented using PLY"
+HOMEPAGE="
+	https://github.com/viraptor/phply/
+	https://pypi.org/project/phply/"
+SRC_URI="
+	https://github.com/viraptor/phply/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+
+distutils_enable_tests nose
+
+src_prepare() {
+	# namespace? seriously?
+	sed -i -e '/namespace_packages/d' setup.py || die
+	# prevent installing tests, turn phply back into normal package
+	mv tests/__init__.py phply/ || die
+	distutils-r1_src_prepare
+}


             reply	other threads:[~2021-02-05  8:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05  8:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-21  5:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/phply/ Sam James
2021-03-07 19:46 Sam James
2021-03-07 19:48 Sam James
2021-03-17 20:00 Sam James
2021-08-23  6:27 Arthur Zamarin
2023-01-02 20:56 Andreas Sturmlechner
2023-02-03 12:04 Arthur Zamarin
2023-02-03 12:32 Michał Górny
2023-06-01 13:22 Michał Górny
2024-05-18  6:58 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=1612514604.79a654bc2bd85a000ed81211ee9fe64234ba19ce.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