summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/ntplib/Manifest1
-rw-r--r--dev-python/ntplib/metadata.xml10
-rw-r--r--dev-python/ntplib/ntplib-0.3.3.ebuild23
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/ntplib/Manifest b/dev-python/ntplib/Manifest
new file mode 100644
index 00000000000..390ccb7c00a
--- /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 00000000000..081f4bf2037
--- /dev/null
+++ b/dev-python/ntplib/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">ntplib</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
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 00000000000..7e568f6d969
--- /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
+}