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 146C5138334 for ; Sat, 7 Dec 2019 21:55:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C0CDE0848; Sat, 7 Dec 2019 21:55:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 11CFFE0848 for ; Sat, 7 Dec 2019 21:55:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D7CA034D87A for ; Sat, 7 Dec 2019 21:55:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D7678CC for ; Sat, 7 Dec 2019 21:55:36 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1575755729.e890cd2cfe82977caaf85feead73242ad336c06f.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flit_core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flit_core/Manifest dev-python/flit_core/flit_core-2.1.0.ebuild dev-python/flit_core/metadata.xml X-VCS-Directories: dev-python/flit_core/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: e890cd2cfe82977caaf85feead73242ad336c06f X-VCS-Branch: master Date: Sat, 7 Dec 2019 21:55:36 +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: 559d4540-9148-4c8c-b9d2-6060e6af355d X-Archives-Hash: 6b22cc36e7687ebf2bee39824c8e1682 commit: e890cd2cfe82977caaf85feead73242ad336c06f Author: Patrick McLean gentoo org> AuthorDate: Sat Dec 7 20:22:35 2019 +0000 Commit: Patrick McLean gentoo org> CommitDate: Sat Dec 7 21:55:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e890cd2c dev-python/flit_core: New package Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Patrick McLean gentoo.org> dev-python/flit_core/Manifest | 1 + dev-python/flit_core/flit_core-2.1.0.ebuild | 39 +++++++++++++++++++++++++++++ dev-python/flit_core/metadata.xml | 12 +++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/flit_core/Manifest b/dev-python/flit_core/Manifest new file mode 100644 index 00000000000..ce0f6dfe64d --- /dev/null +++ b/dev-python/flit_core/Manifest @@ -0,0 +1 @@ +DIST flit_core-2.1.0.tar.gz 22978 BLAKE2B 87cb5ced56666eb9ae4963628864b66c77758c823b34712770a61a52cb7916196c0d6f51e7b2ad9804b853f27a257966aabef7dd9c95155af8e76f5100b1c9fa SHA512 dfc11cdd62af367b56773e5e0b28763554cd27a272a040a5dd35c8fae4f1e6695b2e2b15b6e63f6aa52df9854874eccc31f6eaf5b349ed85aa33cc5e1d2e1acd diff --git a/dev-python/flit_core/flit_core-2.1.0.ebuild b/dev-python/flit_core/flit_core-2.1.0.ebuild new file mode 100644 index 00000000000..837b6cc3c50 --- /dev/null +++ b/dev-python/flit_core/flit_core-2.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +inherit distutils-r1 + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE="https://pypi.org/project/flit-core/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/intreehooks[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + printf -- "from setuptools import setup, find_packages\nsetup(name='${PN//_/-}',version='${PV}',%s)" \ + "packages=find_packages()" > setup.py || die + + # use toml instead of depricated pytoml + sed -e 's:import pytoml as toml:import toml:' \ + -i flit_core/inifile.py || die + sed -e 's:pytoml:toml:' \ + -i flit_core/build_thyself.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/flit_core/metadata.xml b/dev-python/flit_core/metadata.xml new file mode 100644 index 00000000000..12ad08ae74e --- /dev/null +++ b/dev-python/flit_core/metadata.xml @@ -0,0 +1,12 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + flit-core + takluyver/flit + +