From c3b3e355c7f26ed65445515a0f126e5eb04007a5 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Thu, 2 Apr 2020 00:19:52 +0200 Subject: [PATCH] add dev-python/over, dev-util/over-hex --- app-misc/over-env/over-env-9999.ebuild | 10 ++++++--- dev-python/over/over-9999.ebuild | 20 ++++++++++++++++++ dev-util/over-hex/over-hex-9999.ebuild | 28 ++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 dev-python/over/over-9999.ebuild create mode 100644 dev-util/over-hex/over-hex-9999.ebuild diff --git a/app-misc/over-env/over-env-9999.ebuild b/app-misc/over-env/over-env-9999.ebuild index 8cd0575..6a734e2 100644 --- a/app-misc/over-env/over-env-9999.ebuild +++ b/app-misc/over-env/over-env-9999.ebuild @@ -6,8 +6,8 @@ EAPI=7 inherit git-r3 DESCRIPTION="A personal collection of scripts, aliases, zsh envs, and a nice prompt." -HOMEPAGE="https://git.decade.cz/overwatch/over-env" -EGIT_REPO_URI="https://git.decade.cz/overwatch/over-env.git" +HOMEPAGE="https://git.decade.cz/overwatch/${PN}" +EGIT_REPO_URI="https://git.decade.cz/overwatch/${PN}.git" LICENSE="GPL-3" SLOT="0" @@ -37,10 +37,14 @@ src_install() { insinto /usr/share/${PN} doins lib/python-startup.py + insinto /etc/zsh + doins etc/zsh/zshrc + insinto /etc - doins -r etc/{over,zsh} + doins -r etc/over if use screen; then + insinto /etc doins etc/{screenrc,screenrc.over} fi diff --git a/dev-python/over/over-9999.ebuild b/dev-python/over/over-9999.ebuild new file mode 100644 index 0000000..1b2f4d9 --- /dev/null +++ b/dev-python/over/over-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +inherit distutils-r1 git-r3 + +DESCRIPTION="Useful Python libraries and convenience functions from the former Overwatch UAV project." +HOMEPAGE="https://git.decade.cz/overwatch/over" +EGIT_REPO_URI="https://git.decade.cz/overwatch/over.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="*" + +#DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/tzlocal +" diff --git a/dev-util/over-hex/over-hex-9999.ebuild b/dev-util/over-hex/over-hex-9999.ebuild new file mode 100644 index 0000000..eea1081 --- /dev/null +++ b/dev-util/over-hex/over-hex-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="A somewhat less painful alternative to hexdump(1). With prettier colors and probably more bugs." +HOMEPAGE="https://git.decade.cz/overwatch/${PN}" +EGIT_REPO_URI="https://git.decade.cz/overwatch/${PN}.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="*" + +RDEPEND=" + dev-python/over +" + +src_install() { + exeinto /usr/share/${PN} + doexe ${PN}.py + + insinto /usr/share/${PN} + doins version.py + + dosym /usr/share/${PN}/${PN}.py /usr/bin/${PN} +}