mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
dev-python/distro-oem: Bump to 1.7.0
This commit is contained in:
parent
23041be4c2
commit
a7339931a4
@ -1 +1 @@
|
||||
DIST distro-1.6.0.tar.gz 69377 BLAKE2B 69119c3acfc12327a55e8b16f4e183fe1b039e965a5432081d83c6e5d0f6367846c403eb34764f2436beec173d3ceaa5265e0e1e7d786d1008e84772426ef049 SHA512 1682a52e617ba440eb0fac28ed653dd3bbc53012e3dc81099d792f088d399c1a6aba62d638e7b50aad88de2cd0935579a0bdd29a9abb5aad9d0c68bd90311268
|
||||
DIST distro-1.7.0.tar.gz 58164 BLAKE2B 22bbd2daf9cac589530eac9a58767db6b9e389b77719516f7386a9377b49ba4c9b696165701acc42366b760b9a632c70a2243a58c12a367fef2a0a770a4aea44 SHA512 14516ecab33ee8c57c35a8279eb515fd699031fabac7d8886092ea98696797d55503179870aeb513a85e1a66c7e69f2f60bb6ea9fc935be975cb5135e1917ecc
|
||||
|
@ -1,14 +1,17 @@
|
||||
# Copyright 2021 Microsoft Corporation
|
||||
# Copyright 2021-2022 Microsoft Corporation
|
||||
# Distributed under the terms of GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
MY_PN='distro'
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="OS platform information API"
|
||||
HOMEPAGE="https://github.com/python-distro/distro"
|
||||
SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${MY_P}.tar.gz"
|
||||
DESCRIPTION="Reliable machine-readable Linux distribution information for Python"
|
||||
HOMEPAGE="
|
||||
https://distro.readthedocs.io/en/latest/
|
||||
https://pypi.org/project/distro/
|
||||
https://github.com/python-distro/distro/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
@ -30,5 +33,9 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/oem/python/$(get_libdir)/python${DEP_PYVER}/site-packages"
|
||||
doins "${S}/distro.py"
|
||||
local ssd="${S}/src/distro"
|
||||
doins "${ssd}/distro.py"
|
||||
doins "${ssd}/__init__.py"
|
||||
doins "${ssd}/__main__.py"
|
||||
doins "${ssd}/py.typed"
|
||||
}
|
Loading…
Reference in New Issue
Block a user