diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2018-06-04 15:37:09 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2018-06-04 15:38:24 -0700 |
commit | c3e39c3e621ea265a58661253534ca26df3be0a7 (patch) | |
tree | 6e2d2ae310ab2b6f003a0a08a20467c7b763e75a /dev-python | |
parent | app-vim/webapi: version bump. (diff) | |
download | gentoo-c3e39c3e621ea265a58661253534ca26df3be0a7.tar.gz gentoo-c3e39c3e621ea265a58661253534ca26df3be0a7.tar.bz2 gentoo-c3e39c3e621ea265a58661253534ca26df3be0a7.zip |
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
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-ntpdshm/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-ntpdshm/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/python-ntpdshm/python-ntpdshm-0.2.1.ebuild | 30 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/python-ntpdshm/Manifest b/dev-python/python-ntpdshm/Manifest new file mode 100644 index 000000000000..8659f970680d --- /dev/null +++ b/dev-python/python-ntpdshm/Manifest @@ -0,0 +1 @@ +DIST python-ntpdshm-0.2.1.tar.gz 12227 BLAKE2B 612debd1a9a1809298a690068e3872f727fa9d58496e62530ab236a9f80e020770d54f7a6b3caf797f33f22cb0b75597d79a2ed578e24b11dea787cca2c3c667 SHA512 1c03f38d3f17e3871ced238e6654c57704b3dd4ab49b8cebf1eb4af3a4263de2fb3769933ccf9ebbf2ce5ca5a0ec8875a10ca07161a7e554d6d1ce93e4a2ed4c 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" |