mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
media-gfx/gnofract4d: drop 4.3_p20201029
Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST gnofract4d-4.3_p20201029.tar.gz 18270417 BLAKE2B 82d9f9528c33cf73478fa48d8692617237029944e68d9626d0c39e088b1b6aebc02a8c32a1a0e14c8d115cf3f0434940ec8a8c3d915fc9967b22f7e51353dd6b SHA512 f5844a88c41941429379efe99d1e0593a994a42d600e6e05f722c01c4ced48ceff730bf6bc797e083bd558931d39a31ffe86021eac0f0c6ec0f3047569962e3f
|
||||
DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1 optfeature virtualx xdg
|
||||
|
||||
COMMIT="3e3893b0ee381098418d7b28997f6b861c53eff1"
|
||||
|
||||
DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
|
||||
HOMEPAGE="https://fract4d.github.io/gnofract4d/"
|
||||
SRC_URI="https://github.com/fract4d/gnofract4d/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libpng:0=
|
||||
virtual/jpeg"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
')
|
||||
x11-libs/gtk+:3[introspection]"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
media-video/ffmpeg[vpx,zlib]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die
|
||||
# test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow
|
||||
rm test_regress.py || die
|
||||
# tests hanging with virtx
|
||||
rm fract4dgui/tests/test_{director,gtkfractal}.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use test; then
|
||||
ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "creating videos" media-video/ffmpeg[vpx,zlib]
|
||||
}
|
||||
Reference in New Issue
Block a user