pentoo-overlay/dev-python/inotify/inotify-0.2.10-r1.ebuild
Rick Farina (Zero_Chaos) a5f0e657ab
dev-python/inotify: tests don't work, I tried
The package works, that's enough for me.

Closes: https://github.com/pentoo/pentoo-overlay/issues/1124
Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
2022-07-28 10:04:02 -04:00

32 lines
750 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9,10} )
inherit distutils-r1
DESCRIPTION="an efficient and elegant inotify"
HOMEPAGE="https://github.com/dsoprea/PyInotify"
SRC_URI="https://github.com/dsoprea/PyInotify/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/PyInotify-${PV}"
# I enabled the tests, and they don't work.
# The package works, aside from being dead for 4 years, and I use it.
# So the tests will stay disabled.
RESTRICT=test
distutils_enable_tests nose
src_install() {
distutils-r1_src_install
rm -rf "${ED}/usr/share/doc/${P}"
}