dev-python/ntplib - 0.4.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/ntplib-0.4.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/ntplib-0.4.0

Or alternatively:

emerge --autounmask-write -a =dev-python/ntplib-0.4.0

Package Information

Description:
Python NTP library
Homepage:
https://github.com/cf-natali/ntplib/ https://pypi.org/project/ntplib/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.4.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="Python NTP library"
HOMEPAGE="
	https://github.com/cf-natali/ntplib/
	https://pypi.org/project/ntplib/
"
SRC_URI="
	https://github.com/cf-natali/ntplib/archive/${PV}.tar.gz
		-> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# tests fail with network-sandbox
PROPERTIES="test_network"
RESTRICT="test"

python_test() {
	"${EPYTHON}" ./test_ntplib.py -v || die
}

Inherited Eclasses

Manifest for 0.4.0

Type File Size Source URLs
DIST ntplib-0.4.0.gh.tar.gz 7315 bytes https://github.com/cf-natali/ntplib/archive/0.4.0.tar.gz