Files
gentoo-zh/dev-python/okonomiyaki/okonomiyaki-3.0.0.ebuild
T
Zakk a2e3e4f6f9 dev-python/okonomiyaki: fix license_files in setup.cfg
`license_files = file: LICENSE.txt` is not a valid glob, so the license file was left
out of the installed metadata. Also drop the deprecated `universal` wheel option.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-20 17:54:55 +11:00

29 lines
596 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="
Self-contained library to deal with metadata in egg and runtime archives
"
HOMEPAGE="
https://github.com/enthought/okonomiyaki
https://pypi.org/project/okonomiyaki/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test"
src_prepare() {
distutils-r1_src_prepare
sed -i -e 's/^license_files = file: /license_files = /' -e '/^universal = 1$/d' setup.cfg || die
}