mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-python/cassowary: improve 0.6 ebuild
Signed-off-by: Gonçalo Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -28,17 +28,17 @@ IUSE="X wayland"
|
|||||||
MODULES_KERNEL_MIN=5.10
|
MODULES_KERNEL_MIN=5.10
|
||||||
|
|
||||||
python_compile() {
|
python_compile() {
|
||||||
cd "${S}/app-linux"
|
cd "${S}/app-linux" || die
|
||||||
echo "See documenation of cassowary" > README.md # Dummy Readme file (solve qa error)
|
echo "See documenation of cassowary" > README.md || die # Dummy Readme file (solve qa error)
|
||||||
sed -i "s/version = 0.5/version = ${PV}/g" setup.cfg #version typo upstream
|
sed -i "s/version = 0.5/version = ${PV}/g" setup.cfg || die #version typo upstream
|
||||||
${EPYTHON} -m build --wheel --no-isolation
|
${EPYTHON} -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
python_install() {
|
python_install() {
|
||||||
cd "${S}/app-linux"
|
cd "${S}/app-linux" || die
|
||||||
${EPYTHON} -m installer --destdir="${D}" dist/cassowary-${PV}-py3-none-any.whl
|
${EPYTHON} -m installer --destdir="${D}" dist/cassowary-${PV}-py3-none-any.whl
|
||||||
domenu "${FILESDIR}/cassowary.desktop"
|
domenu "${FILESDIR}/cassowary.desktop"
|
||||||
doicon "${FILESDIR}/cassowary.png"
|
doicon "${S}/app-linux/src/cassowary/gui/extrares/cassowary.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user