public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-admin/github-backup-utils/, profiles/
@ 2020-09-23 22:50 Robin H. Johnson
  0 siblings, 0 replies; only message in thread
From: Robin H. Johnson @ 2020-09-23 22:50 UTC (permalink / raw
  To: gentoo-commits

commit:     45bef35909d7176d95c5bf51f079ee47611e1148
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 22:48:53 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 22:50:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bef359

app-admin/github-backup-utils: bump, py3 support

FULL upstream Py3 support added (partial support was present before)

Reference: https://github.com/github/backup-utils/pull/627
Fixes: https://bugs.gentoo.org/735200
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 app-admin/github-backup-utils/Manifest             |  1 +
 .../github-backup-utils-2.22.0.ebuild              | 56 ++++++++++++++++++++++
 profiles/package.mask                              |  1 -
 3 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/app-admin/github-backup-utils/Manifest b/app-admin/github-backup-utils/Manifest
index 219c3244fcb..cb426f0eeaf 100644
--- a/app-admin/github-backup-utils/Manifest
+++ b/app-admin/github-backup-utils/Manifest
@@ -13,3 +13,4 @@ DIST github-backup-utils-2.18.0.tar.gz 90357 BLAKE2B e9f6c155246914a36d26ec8cddf
 DIST github-backup-utils-2.19.1.tar.gz 90260 BLAKE2B 403feca60cc6037a2fbcb4cc467520fb3283916fdc78e16e960656b695e1c55341c55e74fe246c56fbc2cd86a85e33bcede4d94132adaa446ea48ed8f3f75022 SHA512 60155021d23eadc5ab1ddcadf95dbab43f19456c0e7ef34e93c75d173c1279b354c7019b304d72cabcac674edbd0c4a0c4e50c08606a8559ea662858a9cdb206
 DIST github-backup-utils-2.20.2.tar.gz 92628 BLAKE2B a6c9fb91b005d20b15ce0b2fc289a145bbfd8316aca4511300cda8a9f1b1e52afb9619a9f467e6e87eec673244776a0bf469d0d4a4c608af0f462eae7a06dc44 SHA512 0d2c56fd2e98c8f858cf3a03e2c2d84c20555716d015cdf1f0a789171cb6ea301050a41d1314a15316258f3f159123ba21526c1fd69cba548e8f259c70a92ab9
 DIST github-backup-utils-2.21.0.tar.gz 89907 BLAKE2B 4261d127a73bc4701521f6c5078444c38b3d97ac4ab883f644e02057090b8a53b6c86849b988175416b6fb0566327b9938f28887417fef109dd59c1b246cf961 SHA512 fc037d180ce6cb238d4613583a1551256ffbc58ec8276945905c0127fb6e29f7d547dfdcbec30bb581202ce0447365642218e18ed8865f01e76037898d0a5126
+DIST github-backup-utils-2.22.0.tar.gz 102576 BLAKE2B ce9007c8a5d2843ccc2b3d11b03c13840b89d6ae7906d63420cc0e18191766c92c91e1072723439610ae8bdfdd0174601d1e3b7211cd6a1c9a748f9f793ff760 SHA512 e77b4afc6f90b16caf61dc4313787dab0751590b4819dca2d7e21acd0ca774d19ea359171b76f2892ca0fb4f86fd4240e77b00e107de79d496fea429fb12cee8

diff --git a/app-admin/github-backup-utils/github-backup-utils-2.22.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.22.0.ebuild
new file mode 100644
index 00000000000..95f09eea41f
--- /dev/null
+++ b/app-admin/github-backup-utils/github-backup-utils-2.22.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Python3 support: https://github.com/github/backup-utils/pull/627
+PYTHON_COMPAT=(python2_7 python3_{6,7,8})
+inherit python-any-r1
+
+DESCRIPTION="Backup and recovery utilities for GitHub Enterprise"
+HOMEPAGE="https://github.com/github/backup-utils"
+SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# moreutils parallel is now used for speedups in main code:
+# https://github.com/github/backup-utils/pull/635
+RDEPEND="net-misc/rsync
+	sys-apps/moreutils"
+
+# tests invoke parallel & rsync
+DEPEND="test? (
+	${RDEPEND}
+	dev-util/checkbashisms
+	${PYTHON_DEPS}
+)"
+
+MY_PN="${PN/#github-/}"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() {
+	:;
+}
+
+src_install() {
+	dobin bin/*
+	insinto usr/share/${PN}
+	doins share/${PN}/version
+
+	exeinto usr/share/${PN}
+	doexe share/${PN}/bm.sh
+	doexe share/${PN}/ghe-*
+
+	insinto etc/${PN}
+	newins backup.config-example backup.config
+
+	dodoc -r docs/*
+}
+
+src_test() {
+	emake test
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 502b94bd1e8..f91d4f14695 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -229,7 +229,6 @@ sci-mathematics/axiom
 # Please do not remove any packages from this list unless you actually
 # port them to Python 3.
 # Removal in 30 days.  Please find relevant bugs on tracker bug #694800.
-app-admin/github-backup-utils
 app-backup/genbackupdata
 app-i18n/pology
 app-text/pdf2djvu


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-23 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-23 22:50 [gentoo-commits] repo/gentoo:master commit in: app-admin/github-backup-utils/, profiles/ Robin H. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox