From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA0F413835B for ; Fri, 5 Feb 2021 08:47:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 228FDE0996; Fri, 5 Feb 2021 08:47:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05C5BE0977 for ; Fri, 5 Feb 2021 08:47:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7536E342B32 for ; Fri, 5 Feb 2021 08:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA13B4A6 for ; Fri, 5 Feb 2021 08:47:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1612514604.79a654bc2bd85a000ed81211ee9fe64234ba19ce.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/phply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/phply/Manifest dev-python/phply/metadata.xml dev-python/phply/phply-1.2.5.ebuild X-VCS-Directories: dev-python/phply/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 79a654bc2bd85a000ed81211ee9fe64234ba19ce X-VCS-Branch: master Date: Fri, 5 Feb 2021 08:47:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4e7c0c3c-0fbd-4841-b79f-f5b929ef7dbf X-Archives-Hash: 443b8951311fa1be67914ba4ed96faec commit: 79a654bc2bd85a000ed81211ee9fe64234ba19ce Author: Michał Górny gentoo org> AuthorDate: Fri Feb 5 08:35:36 2021 +0000 Commit: Michał Górny gentoo 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 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 @@ + + + + + python@gentoo.org + + + + phply + viraptor/phply + + 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 +}