dev-python/pyasn - 1.6.2 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =dev-python/pyasn-1.6.2

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

autounmask =dev-python/pyasn-1.6.2

Or alternatively:

emerge --autounmask-write -a =dev-python/pyasn-1.6.2

Package Information

Description:
Python IP address to Autonomous System Number lookup module
Homepage:
https://github.com/hadiasghari/pyasn
License:
MIT ISC BSD-4

Ebuild Details

Version EAPI Keywords Slot
1.6.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1

DESCRIPTION="Python IP address to Autonomous System Number lookup module"
HOMEPAGE="https://github.com/hadiasghari/pyasn"
SRC_URI="https://github.com/hadiasghari/pyasn/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT ISC BSD-4"
SLOT="0"
KEYWORDS="~amd64"

distutils_enable_tests pytest

python_test() {
	rm -fr pyasn || die
	epytest
}

Inherited Eclasses

Manifest for 1.6.2

Type File Size Source URLs
DIST pyasn-1.6.2.tar.gz 13437046 bytes https://github.com/hadiasghari/pyasn/archive/refs/tags/1.6.2.tar.gz