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 42A96138359 for ; Sun, 19 Jul 2020 10:43:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E9C1E0857; Sun, 19 Jul 2020 10:43:49 +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 25978E0857 for ; Sun, 19 Jul 2020 10:43:49 +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 051FC34F429 for ; Sun, 19 Jul 2020 10:43:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 794D92D0 for ; Sun, 19 Jul 2020 10:43:46 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1595155404.1a193d349c56afe52b946352e1d8f64bc83c24e5.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/quantities/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/quantities/Manifest dev-python/quantities/metadata.xml dev-python/quantities/quantities-0.12.4.ebuild X-VCS-Directories: dev-python/quantities/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 1a193d349c56afe52b946352e1d8f64bc83c24e5 X-VCS-Branch: master Date: Sun, 19 Jul 2020 10:43:46 +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: 73cd8e45-7839-4533-9e29-0a5db63efb24 X-Archives-Hash: b7ba616730fd6b7e7fb322318a9d8d3c commit: 1a193d349c56afe52b946352e1d8f64bc83c24e5 Author: David Denoncin gmail com> AuthorDate: Fri Jul 17 08:43:59 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a193d34 dev-python/quantities: new package This package is an optional rdep of dev-python/pylatex Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-python/quantities/Manifest | 1 + dev-python/quantities/metadata.xml | 17 ++++++++++++ dev-python/quantities/quantities-0.12.4.ebuild | 36 ++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest new file mode 100644 index 00000000000..fa90e3a5b65 --- /dev/null +++ b/dev-python/quantities/Manifest @@ -0,0 +1 @@ +DIST python-quantities-0.12.4.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f diff --git a/dev-python/quantities/metadata.xml b/dev-python/quantities/metadata.xml new file mode 100644 index 00000000000..7ffdf7f0ad4 --- /dev/null +++ b/dev-python/quantities/metadata.xml @@ -0,0 +1,17 @@ + + + + + + ddenoncin@gmail.com + David Denoncin + + + proxy-maint@gentoo.org + Proxy Maintainers + + + python-quantities/python-quantities + quantities + + diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild new file mode 100644 index 00000000000..41a8e27b48b --- /dev/null +++ b/dev-python/quantities/quantities-0.12.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="python-quantities" +MY_PV="$(ver_cut 1-3)" +MY_P="${MY_PN}-${PV}" + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE="https://github.com/python-quantities/python-quantities" +SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[$PYTHON_USEDEP] +" +distutils_enable_tests unittest + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Unexpected success + sed -i -e 's:test_fix:_&:' \ + quantities/tests/test_umath.py || die + + distutils-r1_python_prepare_all +}