diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/dput-ng | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/dput-ng')
-rw-r--r-- | dev-util/dput-ng/Manifest | 3 | ||||
-rw-r--r-- | dev-util/dput-ng/dput-ng-1.10.ebuild | 84 | ||||
-rw-r--r-- | dev-util/dput-ng/metadata.xml | 12 |
3 files changed, 99 insertions, 0 deletions
diff --git a/dev-util/dput-ng/Manifest b/dev-util/dput-ng/Manifest new file mode 100644 index 000000000000..df773f3f9183 --- /dev/null +++ b/dev-util/dput-ng/Manifest @@ -0,0 +1,3 @@ +DIST dput-ng_1.10.tar.xz 82608 BLAKE2B e7b3769490ec0bf4de4f763380e9a50fd2c76778c2864a4ba45eb754f2dc4aa896e556ad86939f9bf003a68b1e185b51507dd0a015453dfb39965c63beab4964 SHA512 4a883350e7a0b47c121b752d1e0ab1470924319ef895f55742fc4d8f8a0cb3a0ab4ae18d54495ebc9229b0cbf18fa375848fcdcd2431ee1f66bff6433b9a3b08 +EBUILD dput-ng-1.10.ebuild 1715 BLAKE2B faa98615ae8c62f3acd13b8240de04ddbc8640c87ba042bc3e9e9fed5e9a6a1243811993758b24d328ab7256b0bb968a208530cf17bc7ebc81a7f31721666da5 SHA512 77c5f94d12b1f7c61d214ef6630e8ea226fdf6cf6b1a0c94fd9b2c9d8205269881722ef85b3a00083e74d85fc9c9e5f9bf8c98c6dd1e3299ed9762f5e1050626 +MISC metadata.xml 367 BLAKE2B 867a3664c5bbd444d69af80af19994e07e3810349258e85c2afd0c838cb140aa3f3342ee1aa5e6862d1fd5130e7e09c1f9f30443827fe7df705f4273694c0784 SHA512 3eb0be47e7eb6bfb6d8eecee66a25183da436c38272e226e7819c8748774f3aae620eab7227414cb862734d4baf8fa060290c1b2371233141abcffd7b489c7b8 diff --git a/dev-util/dput-ng/dput-ng-1.10.ebuild b/dev-util/dput-ng/dput-ng-1.10.ebuild new file mode 100644 index 000000000000..2192829fcc8c --- /dev/null +++ b/dev-util/dput-ng/dput-ng-1.10.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Next generation Debian package upload tool" +HOMEPAGE="https://people.debian.org/~paultag/dput-ng/" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND=" + dev-python/python-debian[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-util/distro-info[python,${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + app-text/asciidoc + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/python-debian[${PYTHON_USEDEP}] + )" + +RESTRICT="test" + +S="${WORKDIR}/${PN/-/}" + +src_compile() { + distutils-r1_src_compile + + mkdir man || die + for file in docs/man/*.man; do + a2x --doctype manpage --format manpage -D man \ + "${file}" || die + done +} + +src_install() { + local DPUT_BINARIES=( dcut dirt dput ) + local DPUT_ETC=( metas profiles ) + local DPUT_SHARE=( + codenames + commands + hooks + interfaces + schemas + uploaders + ) + + distutils-r1_src_install + + for binary in ${DPUT_BINARIES[@]}; do + dobin bin/"${binary}" + done + python_fix_shebang "${D}"/usr/bin + + insinto /etc/dput.d + for dir in ${DPUT_ETC[@]}; do + doins -r skel/"${dir}" + done + + insinto /usr/share/"${PN}" + for dir in ${DPUT_SHARE[@]}; do + doins -r skel/"${dir}" + done + + # doman incorrectly treats "cf" in dput.cf.5 as a lang code + doman -i18n="" man/* + + newbashcomp debian/"${PN}".bash-completion dput +} + +python_test() { + # test_configs.py failing + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824652 + nosetests || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-util/dput-ng/metadata.xml b/dev-util/dput-ng/metadata.xml new file mode 100644 index 000000000000..425c7b2eae49 --- /dev/null +++ b/dev-util/dput-ng/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ykonotopov@gnome.org</email> + <name>Yuri Konotopov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |