summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-09-03 17:04:20 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-09-03 20:44:29 +0200
commitfcb7581ebd5208a5e8cf645ac5ca8699a1ee91f7 (patch)
tree4741d743fd777e470003f11cac74ad1723ee93c8 /app-emacs/oauth2/oauth2-0.17.ebuild
parentapp-emacs/oauth2: bump to 0.17 (diff)
downloadgentoo-fcb7581ebd5208a5e8cf645ac5ca8699a1ee91f7.tar.gz
gentoo-fcb7581ebd5208a5e8cf645ac5ca8699a1ee91f7.tar.bz2
gentoo-fcb7581ebd5208a5e8cf645ac5ca8699a1ee91f7.zip
app-emacs/oauth2: bump to 0.17
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/oauth2/oauth2-0.17.ebuild')
-rw-r--r--app-emacs/oauth2/oauth2-0.17.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-emacs/oauth2/oauth2-0.17.ebuild b/app-emacs/oauth2/oauth2-0.17.ebuild
index 9b4c11b62d64..d3b908b2fc09 100644
--- a/app-emacs/oauth2/oauth2-0.17.ebuild
+++ b/app-emacs/oauth2/oauth2-0.17.ebuild
@@ -3,16 +3,19 @@
EAPI=8
+[[ "${PV}" == 0.17 ]] && COMMIT="0147cabd8e82e46af27aef07aeed402b0bb9a0fb"
+
inherit elisp
DESCRIPTION="OAuth 2.0 authorization protocol"
HOMEPAGE="https://elpa.gnu.org/packages/oauth2.html"
-GITHUB_SHA1="dc069550616fb0a72507489ea796d0e1bd8b48c9"
-SRC_URI="https://github.com/emacsmirror/${PN}/archive/${GITHUB_SHA1}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${GITHUB_SHA1}"
+SRC_URI="https://git.savannah.gnu.org/gitweb/?p=emacs/elpa.git;a=snapshot;h=${COMMIT};sf=tgz
+ -> ${P}.tar.gz"
+S="${WORKDIR}/elpa-${COMMIT:0:7}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+DOCS=( NEWS )
SITEFILE="50${PN}-gentoo.el"