dev-python/python-ntpdshm: new package

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Package-Manager: Portage-2.3.33, Repoman-2.3.9
This commit is contained in:
Robin H. Johnson
2018-06-04 15:37:09 -07:00
parent 19221e7c91
commit c3e39c3e62
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST python-ntpdshm-0.2.1.tar.gz 12227 BLAKE2B 612debd1a9a1809298a690068e3872f727fa9d58496e62530ab236a9f80e020770d54f7a6b3caf797f33f22cb0b75597d79a2ed578e24b11dea787cca2c3c667 SHA512 1c03f38d3f17e3871ced238e6654c57704b3dd4ab49b8cebf1eb4af3a4263de2fb3769933ccf9ebbf2ce5ca5a0ec8875a10ca07161a7e554d6d1ce93e4a2ed4c

View File

@@ -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>

View File

@@ -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"