Skip to content

Instantly share code, notes, and snippets.

@Minoru
Created October 25, 2016 21:05
Show Gist options
  • Save Minoru/c67744a6ac4d6f2baa99e06891058ff4 to your computer and use it in GitHub Desktop.
Save Minoru/c67744a6ac4d6f2baa99e06891058ff4 to your computer and use it in GitHub Desktop.
My dev-util/i18nspector-9999 ebuild
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_4 )
inherit eutils python-single-r1
DESCRIPTION="Checking tool for gettext POT, PO and MO files"
HOMEPAGE="http://jwilk.net/software/i18nspector"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://github.com/jwilk/i18nspector.git"
fi
LICENSE="MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}
>=dev-python/polib-1.0.0
dev-python/rply"
DEPEND=">=dev-python/docutils-0.6"
pkg_setup(){
python-single-r1_pkg_setup
}
src_prepare() {
true;
}
src_configure() {
true;
}
src_compile() {
(cd doc && emake)
}
src_install() {
emake DESTDIR="${D}" install
}
pkg_preinst() {
true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment