diff options
author | Sam James <sam@gentoo.org> | 2021-02-27 10:37:00 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-27 10:40:27 +0000 |
commit | a0b472c4dd1719f9ccebae5e297f40c8394150ad (patch) | |
tree | 7b939c5f692b2bb0d934afa21ce33597747806b0 | |
parent | sci-geosciences/osm2pgsql: Cleanup (diff) | |
download | gentoo-a0b472c4dd1719f9ccebae5e297f40c8394150ad.tar.gz gentoo-a0b472c4dd1719f9ccebae5e297f40c8394150ad.tar.bz2 gentoo-a0b472c4dd1719f9ccebae5e297f40c8394150ad.zip |
dev-util/pkgdev: new package
A first cut. No docs yet.
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-util/pkgdev/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/pkgdev/pkgdev-9999.ebuild | 28 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/pkgdev/metadata.xml b/dev-util/pkgdev/metadata.xml new file mode 100644 index 000000000000..cac3fc36e45a --- /dev/null +++ b/dev-util/pkgdev/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <upstream> + <remote-id type="github">pkgcore/pkgdev</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild new file mode 100644 index 000000000000..bc60a9ad96a9 --- /dev/null +++ b/dev-util/pkgdev/pkgdev-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/pkgdev.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="pkgcore-based git QA tool" +HOMEPAGE="https://github.com/pkgcore/pkgdev" + +LICENSE="BSD MIT" +SLOT="0" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +fi |