summaryrefslogtreecommitdiff
path: root/dev-python/python-ntpdshm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
commitcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (patch)
tree047fc92023c520d07f13ec5ac96e094d1b312a7a /dev-python/python-ntpdshm
parent7b9f15840068dfaeea5684f8a1af1fe460dfa14c (diff)
gentoo resync : 09.06.2018
Diffstat (limited to 'dev-python/python-ntpdshm')
-rw-r--r--dev-python/python-ntpdshm/Manifest3
-rw-r--r--dev-python/python-ntpdshm/metadata.xml10
-rw-r--r--dev-python/python-ntpdshm/python-ntpdshm-0.2.1.ebuild30
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/python-ntpdshm/Manifest b/dev-python/python-ntpdshm/Manifest
new file mode 100644
index 000000000000..fe627abec829
--- /dev/null
+++ b/dev-python/python-ntpdshm/Manifest
@@ -0,0 +1,3 @@
+DIST python-ntpdshm-0.2.1.tar.gz 12227 BLAKE2B 612debd1a9a1809298a690068e3872f727fa9d58496e62530ab236a9f80e020770d54f7a6b3caf797f33f22cb0b75597d79a2ed578e24b11dea787cca2c3c667 SHA512 1c03f38d3f17e3871ced238e6654c57704b3dd4ab49b8cebf1eb4af3a4263de2fb3769933ccf9ebbf2ce5ca5a0ec8875a10ca07161a7e554d6d1ce93e4a2ed4c
+EBUILD python-ntpdshm-0.2.1.ebuild 700 BLAKE2B bd124e26a7f487d45623753efa69b9ceefe6354cc423a26b2a024879d0b8a3a96262d70c667c6d065e380daab2deac219990ddf7d892703e82341d94ca2a2660 SHA512 0a6ce349d371250949f4bfa39963f34ff04ee5325cb566b9e561391427c57a32de21d1f9a1328a96a8573f9eeceab51da2098a2a46216570479d0a2eeda79f27
+MISC metadata.xml 288 BLAKE2B cf804565346328dfd23bbc04533dc8844d4a5e3debf432bacc1545780a249cc3a363efae85f6577c04bed761dbfd8f0259c3aaf05b2505528666bc6d83d4fbda SHA512 a0f7d154b6b1b48e88243ef1ede582c3cbb9056d73bc9003e4f8add773306f48c9b75f103ed85a1a18e870c31ef5eb0ec19f44a814261b3c866cdb756c2a75f5
diff --git a/dev-python/python-ntpdshm/metadata.xml b/dev-python/python-ntpdshm/metadata.xml
new file mode 100644
index 000000000000..db7cd7adb419
--- /dev/null
+++ b/dev-python/python-ntpdshm/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">ntpdshm</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-ntpdshm/python-ntpdshm-0.2.1.ebuild b/dev-python/python-ntpdshm/python-ntpdshm-0.2.1.ebuild
new file mode 100644
index 000000000000..fc99a46a4aea
--- /dev/null
+++ b/dev-python/python-ntpdshm/python-ntpdshm-0.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to ntpd shared memory driver 28"
+HOMEPAGE="https://github.com/mjuenema/python-ntpdshm"
+SRC_URI="${HOMEPAGE}/archive/0.2.1.tar.gz -> ${P}.tar.gz"
+# Warning: pypi tarball is not the same
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-lang/swig:0"
+
+src_prepare() {
+ emake swig || die
+ distutils-r1_src_prepare
+}
+
+# tests may break running ntpd!
+RESTRICT="test"