From: Zac Medico Date: Fri, 24 Feb 2017 03:40:49 +0000 (-0800) Subject: dev-python/ntplib: add package X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=011bfe3f17cbc88758436891821d2870b46f6cfd;p=gentoo.git dev-python/ntplib: add package Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/dev-python/ntplib/Manifest b/dev-python/ntplib/Manifest new file mode 100644 index 000000000000..390ccb7c00a2 --- /dev/null +++ b/dev-python/ntplib/Manifest @@ -0,0 +1 @@ +DIST ntplib-0.3.3.tar.gz 6808 SHA256 c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede SHA512 4175ebb78228475b32744a59ad4c404f7b88344859c19874606967c7d83a4680bbc78ff42d13b866b8e6ef939d2f1948b0a0b42819c78a8520856bae48ec907f WHIRLPOOL 611928c70cad85d37089d233875820b6cf7c823f0968c5954fb8b0da8f0c008156b3fa22d3cf2e49b99276de9f76de549c99112c22bcf0ed9047a6bc8ca07c36 diff --git a/dev-python/ntplib/metadata.xml b/dev-python/ntplib/metadata.xml new file mode 100644 index 000000000000..081f4bf20375 --- /dev/null +++ b/dev-python/ntplib/metadata.xml @@ -0,0 +1,10 @@ + + + + + ntplib + + + zmedico@gentoo.org + + diff --git a/dev-python/ntplib/ntplib-0.3.3.ebuild b/dev-python/ntplib/ntplib-0.3.3.ebuild new file mode 100644 index 000000000000..7e568f6d9695 --- /dev/null +++ b/dev-python/ntplib/ntplib-0.3.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="Python NTP library" +HOMEPAGE="https://pypi.python.org/pypi/ntplib/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +# tests fail with network-sandbox +RESTRICT="test" + +python_test() { + "${PYTHON:-python}" ./test_ntplib.py +}