public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/osc/
Date: Sun, 12 Jul 2020 11:40:15 +0000 (UTC)	[thread overview]
Message-ID: <1594553988.8ffcbba913184b6964ce93020e9c5b4ca2e7e0da.andrewammerlaan@gentoo> (raw)
Message-ID: <20200712114015.EXgUwXWs3y_q6y2IyIpNbbG_afN4bCOZdf669JQ72Yk@z> (raw)

commit:     8ffcbba913184b6964ce93020e9c5b4ca2e7e0da
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jul 12 11:39:48 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jul 12 11:39:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ffcbba9

dev-util/osc: re-add symlinked 9999 ebuild

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-util/osc/osc-9999.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 66 insertions(+), 1 deletion(-)

diff --git a/dev-util/osc/osc-9999.ebuild b/dev-util/osc/osc-9999.ebuild
deleted file mode 120000
index bbd5538..0000000
--- a/dev-util/osc/osc-9999.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-osc-0.169.1.ebuild
\ No newline at end of file

diff --git a/dev-util/osc/osc-9999.ebuild b/dev-util/osc/osc-9999.ebuild
new file mode 100644
index 0000000..1b9a14e
--- /dev/null
+++ b/dev-util/osc/osc-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="xml"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Command line tool for Open Build Service"
+HOMEPAGE="https://en.opensuse.org/openSUSE:OSC https://github.com/openSUSE/osc"
+
+if [[ "${PV}" == "9999" ]]; then
+	EGIT_REPO_URI="https://github.com/openSUSE/${PN}.git"
+
+	inherit git-r3
+else
+	SRC_URI="https://github.com/openSUSE/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	OBS_PROJECT="openSUSE:Tools"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# Test require config file: osc.oscerr.NoConfigfile
+RESTRICT="test"
+
+RDEPEND="
+	app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/m2crypto[${PYTHON_USEDEP}]
+	')
+	${PYTHON_SINGLE_DEPS}
+"
+
+BDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+	')
+	test? (
+		${RDEPEND}
+		$(python_gen_cond_dep '
+			dev-python/path-py[${PYTHON_USEDEP}]
+	')
+)"
+
+distutils_enable_tests pytest
+# Bug: https://bugs.gentoo.org/704520
+#distutils_enable_sphinx docs dev-python/alabaster
+
+src_install() {
+	distutils-r1_src_install
+
+	dosym osc-wrapper.py /usr/bin/osc
+	rm -f "${ED}/usr/share/doc/${PN}"*/TODO*
+	insinto /usr/share/bash-completion/completions
+	newins dist/complete.sh osc
+	insinto /usr/lib/osc
+	newins dist/osc.complete complete
+	insinto /usr/share/zsh/site-functions
+	newins "${FILESDIR}/osc.zsh_completion" _osc
+}


             reply	other threads:[~2020-07-12 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12 11:57 Andrew Ammerlaan [this message]
2020-07-12 11:40 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-util/osc/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-12-27 12:48 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-27 12:48 Andrew Ammerlaan
2020-07-12 11:29 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-07-12 11:57 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1594553988.8ffcbba913184b6964ce93020e9c5b4ca2e7e0da.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox