logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/

pyasn-1.6.2.ebuild (594B)


  1. # Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. PYTHON_COMPAT=( python3_{10..14} )
  5. DISTUTILS_USE_PEP517=setuptools
  6. DISTUTILS_EXT=1
  7. inherit distutils-r1
  8. DESCRIPTION="Python IP address to Autonomous System Number lookup module"
  9. HOMEPAGE="https://github.com/hadiasghari/pyasn"
  10. SRC_URI="https://github.com/hadiasghari/pyasn/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
  11. LICENSE="MIT ISC BSD-4"
  12. SLOT="0"
  13. KEYWORDS="~amd64"
  14. distutils_enable_tests pytest
  15. python_test() {
  16. rm -fr pyasn || die
  17. epytest
  18. }