summaryrefslogtreecommitdiff
path: root/dev-vcs/stgit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/stgit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/stgit')
-rw-r--r--dev-vcs/stgit/Manifest11
-rw-r--r--dev-vcs/stgit/files/stgit-0.16-asciidoc-compat.patch13
-rw-r--r--dev-vcs/stgit/files/stgit-0.16-man-linkfix.patch11
-rw-r--r--dev-vcs/stgit/metadata.xml17
-rw-r--r--dev-vcs/stgit/stgit-0.16-r2.ebuild76
-rw-r--r--dev-vcs/stgit/stgit-0.17.1-r2.ebuild86
6 files changed, 214 insertions, 0 deletions
diff --git a/dev-vcs/stgit/Manifest b/dev-vcs/stgit/Manifest
new file mode 100644
index 000000000000..7b59c00c6130
--- /dev/null
+++ b/dev-vcs/stgit/Manifest
@@ -0,0 +1,11 @@
+AUX stgit-0.16-asciidoc-compat.patch 561 SHA256 3d2e1f78c9857d5e54e3c8de6ae4bf047c9271d44b41408ee2b770316746a637 SHA512 f5a4a260b5b732332a4157a82d7bd153971d0a41c55ce8c38beb58f85a989d7636ec3ff15dc3161d4c5775a392840d4970437abf4fd8c741cdcdf509fd826329 WHIRLPOOL 6dee03e89a11eeeee4a4af9304119f7a0bc9d655651cc4ae4807869fd5ac05fca423d768a5bb74b2e2399a0439058e51fc188afc40883503ae96ace9ff1d4f73
+AUX stgit-0.16-man-linkfix.patch 429 SHA256 456ec1faeea9f9a6c937e1afc3f3ee5dda63dc11ca6abd6e7b06cafe03bb6f97 SHA512 a4e240d804646f002089d428ee92e9a8cde5a7d7447ebd5d635514dc5777cf3d56fc59cef9f406f7313daf09775810b553a65685e419846691bbc2fc51afc2f5 WHIRLPOOL db1d2fd61e9b4826e3fd9804d3ae5ef27ec62866e5ac041650316a6e0703db5e2bcc40c5c95988fb3a0e067de8dd0980773d1e06558a87c113aa0ef8d0053413
+DIST stgit-0.16-missing-patches.tar.gz 1667 SHA256 f105bb417592be3c68d830ad1cf2e212e6e5cb809bf64cdffb516a0f7badd4f4 SHA512 29d4c3e68121654153b4e5142dd70d818737b09bbc8371d644a36dd9d18afaf78fdda91bc16f953c330bcbae19084384d8bcd216cdfe674df784e33165186db1 WHIRLPOOL c7628853e6c1eff498a95ff22ec3eb3bb69b60dfb0c6dcd5895a650b8d3aba966166dfd426a0c728e3d292f0a2ed197325b0af5ccd63fc99011b5b2e841e7194
+DIST stgit-0.16.tar.gz 362687 SHA256 02f1a19350ccf4a26abac1421df8c2d021e78f995c913f9562718a1700318a42 SHA512 782de3d5855aad4f5d040478745990517ebe2b26dc315a3ed41db95399bb46e075d63a70baa0e3aa2ab1012b59e6ad1f5940a904f296ef09d6bca60f66e417dd WHIRLPOOL e2334c041cb260455d549d33b6628fd4f6e1e7da850f2987ba86922504e07aed8177d092550348b52cad8894b0335d20ee1608b855fa1cb6545bdd301a9d38f1
+DIST stgit-0.17.1-upstream-patches-1.tar.xz 15324 SHA256 4ec973ee6a16daee616c5f675294e9351e4953b4d171059cddb504d286939cd3 SHA512 2d756d960b5bd803258afe0bb89cb29a960bc2745adf37f2b574fd114579a867ec51628f2267744ec2eec70090376274bfd720a612093a36f4bb8e4ecb8f6d30 WHIRLPOOL 538a060e8628b9d43af56568a267c2026a9088156af188d5a745adfbb11807dcf948f216e6492d51069c85e80985f156196df6b28eb2664b3e5e27a09b169c57
+DIST stgit-0.17.1.tar.gz 398466 SHA256 d43365a0c22e41a6fb9ba1a86de164d6475e79054e7f33805d6a829eb4056ade SHA512 3efdfb9bc024c3a7c0d74d49e85f157d5d5209c9a2ad0ce63a07138c02fb1580e92ac4a91796e79bbd221e6884317e975f9f44e35db0b484fd916bc67cd61abe WHIRLPOOL a7c4c83cfeace12ced60e846ed9daaffadea3ed201a90e72239e3f8df310164e00ce5a89174df177f89df4a609a66ac35e905f31419ed654081c3ab0c2cba859
+EBUILD stgit-0.16-r2.ebuild 1732 SHA256 f4186d6abc1596c7d61ba543a9fdac81ca7929bafae73cc9312d5ebd9abcdf93 SHA512 015a83ab10571d9000f0394c2173a56feac071ca6680ec9b4ee6b6e7c4be3a6e098a231be71bac87ddec9dfc415808f0a86dd30c4bb142493358d8558810cc0a WHIRLPOOL 653f79446ca4e0823109a144710ae64e737a2751e7f5319398dac88eb2d9d45720eb27f5121c20eb3af72112e85b931dda138391502a605be840603ef2ee0044
+EBUILD stgit-0.17.1-r2.ebuild 1942 SHA256 6a3cbe09716b84c0e32e9ad3408447a9ffa4e7151316afe7b886fba8c14364fa SHA512 ee18797389b9c2fa08534ca52af8ebe23d809f799bc929870073baba734c4cbcdcd88de73efc85410b7bad131b39275065c7b713630d86d663467b6c7592d030 WHIRLPOOL 7834ca56d216ea311ef94a1f0e429ea7e01a8cb222b5fae9c8ba8e3e4d25ec736d4825073b8e09921e2af230c7bf63d114ee3959625b7c93c01877f55e54d87e
+MISC ChangeLog 2897 SHA256 743f0c43d222fee585d1c3e48f5c7e9a535751f75e8ba0d7191914c936ef273f SHA512 2c86401c114db55c19fe26c3c1459afb3c43f36175e77bedc280a641b564771fd69532f7f68468ad4e9e9a3e495887287fc27582e38de501f7593d2d6a3ae258 WHIRLPOOL 8bad435f911194d3b8481d2e6c215a8222515777aff83b46ee0366e88addd8477055850122d83ba41c73aa9c9e06ceb6a09cff17723647c18fc03230837eb021
+MISC ChangeLog-2015 9103 SHA256 eafed372849816e41a7b359a434cf0223405cb1eab7345c740a6f087d18d7a15 SHA512 7d90f53d0510f3d5c9d5d65450fd38ca1a43f64cc4208a858597b5de3c18f0f75ff6f75e671289e49cb948319c5909358f6d798f9b53132a3b25bf6a161c47c8 WHIRLPOOL 1498950b6c15ee7a43e0f85f6125a1781c1215d628edd5c5108f079f00dab680112dd4ae747be1cad3b9280decdf108a93f6c5ed3038393de50ce9bf16b17137
+MISC metadata.xml 552 SHA256 358b2ba694fadd96c8c554301a2c6886f3aded5c2ed571772afedbcb55e993a4 SHA512 34e9dfa2342d0d899cdd8be4a9b24d16d7de6c026c0a7a167caeeb7d5155b9eb39c4de3e706fb2f6f5145a9f0920d35798eb986b2882a7409af1590109335d0e WHIRLPOOL 70154e752b3f11aed17ee781a0a9d819568e3f4ae74daebad2a0cc0ca49f0772509b5725953f9676c6dd18e4c982f3de32a1e9ee8f9605992a562833be949b10
diff --git a/dev-vcs/stgit/files/stgit-0.16-asciidoc-compat.patch b/dev-vcs/stgit/files/stgit-0.16-asciidoc-compat.patch
new file mode 100644
index 000000000000..4386953a3ef6
--- /dev/null
+++ b/dev-vcs/stgit/files/stgit-0.16-asciidoc-compat.patch
@@ -0,0 +1,13 @@
+diff -urN stgit-0.16.orig/Documentation/asciidoc.conf stgit-0.16/Documentation/asciidoc.conf
+--- stgit-0.16.orig/Documentation/asciidoc.conf 2012-01-09 13:12:42.000000000 -0800
++++ stgit-0.16/Documentation/asciidoc.conf 2012-07-06 04:31:38.279051055 -0700
+@@ -100,3 +100,9 @@
+ [linkstgsub-inlinemacro]
+ <a href="stg-{target}.html">{target}</a>
+ endif::backend-xhtml11[]
++
++[macros]
++# regexen to match macro templates above
++(?P<name>linkman):(?P<target>\w+)\[(?P<attrlist>\d+)]=
++(?P<name>linkstgsub):(?P<target>\w+)\[]=
++(?P<name>linkstg):(?P<target>\w+)\[]=
diff --git a/dev-vcs/stgit/files/stgit-0.16-man-linkfix.patch b/dev-vcs/stgit/files/stgit-0.16-man-linkfix.patch
new file mode 100644
index 000000000000..83fdb5457879
--- /dev/null
+++ b/dev-vcs/stgit/files/stgit-0.16-man-linkfix.patch
@@ -0,0 +1,11 @@
+--- Documentation/Makefile.old 2012-07-08 23:55:38.958779174 +0200
++++ Documentation/Makefile 2012-07-08 23:56:42.638010483 +0200
+@@ -72,7 +72,7 @@
+ $(ASCIIDOC) -b xhtml11 -d manpage -f asciidoc.conf $(ASCIIDOC_EXTRA) $<
+
+ %.1 : %.xml
+- xmlto -m callouts.xsl man $<
++ xmlto -m callouts.xsl --stringparam man.base.url.for.relative.links=$(htmldir) man $<
+
+ %.xml : %.txt
+ $(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf $<
diff --git a/dev-vcs/stgit/metadata.xml b/dev-vcs/stgit/metadata.xml
new file mode 100644
index 000000000000..01bb8987a0e8
--- /dev/null
+++ b/dev-vcs/stgit/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>gentoo@necoro.eu</email>
+ <name>René 'Necoro' Neumann</name>
+ <description>Proxy maintainer, assign bugs</description>
+</maintainer>
+<maintainer type="person">
+ <email>dlan@gentoo.org</email>
+ <description>Co maintainer, CC bugs</description>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-vcs/stgit/stgit-0.16-r2.ebuild b/dev-vcs/stgit/stgit-0.16-r2.ebuild
new file mode 100644
index 000000000000..07c880d7990f
--- /dev/null
+++ b/dev-vcs/stgit/stgit-0.16-r2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Manage a stack of patches using GIT as a backend"
+HOMEPAGE="http://www.procode.org/stgit/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}-missing-patches.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND=">=dev-vcs/git-1.6.3.3"
+
+# NOTE: It seems to be quite important which asciidoc version to use.
+# So keep an eye on it for the future.
+DEPEND="${RDEPEND}
+ doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ dev-lang/perl
+ )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-asciidoc-compat.patch"
+ "${FILESDIR}/${P}-man-linkfix.patch"
+)
+
+pkg_setup() {
+ if ! use doc; then
+ echo
+ ewarn "Manpages will not be built and installed."
+ ewarn "Enable the 'doc' useflag, if you want them."
+ echo
+ fi
+}
+
+python_prepare_all() {
+ # this will be a noop, as we are working with a tarball,
+ # but throws git errors --> just get rid of it
+ sed -i -e 's/version\.write_builtin_version()//' setup.py || die
+
+ # Workaround hardcoded prefix
+ sed -i -e "/prefix/s|/usr|${EPREFIX}/usr|" setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ emake DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+ mandir="${EPREFIX}/usr/share/man/" \
+ doc
+ fi
+}
+
+python_install_all() {
+ if use doc; then
+ emake DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+ mandir="${EPREFIX}/usr/share/man/" \
+ install-doc install-html
+ fi
+
+ distutils-r1_python_install_all
+
+ newbashcomp stgit-completion.bash 'stg'
+}
diff --git a/dev-vcs/stgit/stgit-0.17.1-r2.ebuild b/dev-vcs/stgit/stgit-0.17.1-r2.ebuild
new file mode 100644
index 000000000000..0fff41ef0534
--- /dev/null
+++ b/dev-vcs/stgit/stgit-0.17.1-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Manage a stack of patches using GIT as a backend"
+HOMEPAGE="https://stgit.org https://gna.org/projects/stgit"
+UPSTREAM_VER=1
+[[ -n ${UPSTREAM_VER} ]] && \
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz
+ ${UPSTREAM_PATCHSET_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND=">=dev-vcs/git-1.6.3.3"
+
+# NOTE: It seems to be quite important which asciidoc version to use.
+# So keep an eye on it for the future.
+DEPEND="${RDEPEND}
+ doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ dev-lang/perl
+ )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.16-man-linkfix.patch"
+)
+
+pkg_setup() {
+ if ! use doc; then
+ echo
+ ewarn "Manpages will not be built and installed."
+ ewarn "Enable the 'doc' useflag, if you want them."
+ echo
+ fi
+}
+
+python_prepare_all() {
+ # Upstream's patchset
+ if [[ -n ${UPSTREAM_VER} ]]; then
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"/patches-upstream
+ fi
+
+ # this will be a noop, as we are working with a tarball,
+ # but throws git errors --> just get rid of it
+ sed -i -e 's/version\.write_builtin_version()//' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+src_compile() {
+ distutils-r1_src_compile
+
+ # bug 526468
+ if use doc; then
+ emake DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+ mandir="${EPREFIX}/usr/share/man/" \
+ doc
+ fi
+}
+
+src_install() {
+ if use doc; then
+ emake DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+ mandir="${EPREFIX}/usr/share/man/" \
+ install-doc install-html
+ fi
+
+ distutils-r1_src_install
+
+ newbashcomp stgit-completion.bash 'stg'
+}