mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-03 11:58:07 -07:00
dev-python/ntplib: add package
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
1
dev-python/ntplib/Manifest
Normal file
1
dev-python/ntplib/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ntplib-0.3.3.tar.gz 6808 SHA256 c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede SHA512 4175ebb78228475b32744a59ad4c404f7b88344859c19874606967c7d83a4680bbc78ff42d13b866b8e6ef939d2f1948b0a0b42819c78a8520856bae48ec907f WHIRLPOOL 611928c70cad85d37089d233875820b6cf7c823f0968c5954fb8b0da8f0c008156b3fa22d3cf2e49b99276de9f76de549c99112c22bcf0ed9047a6bc8ca07c36
|
||||
10
dev-python/ntplib/metadata.xml
Normal file
10
dev-python/ntplib/metadata.xml
Normal 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">ntplib</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
23
dev-python/ntplib/ntplib-0.3.3.ebuild
Normal file
23
dev-python/ntplib/ntplib-0.3.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user