public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/webpaste/
@ 2023-01-31 11:51 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2023-01-31 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     8297329e074862c85224f37ef17c0bf80863ba72
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 11:51:42 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 11:51:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8297329e

app-emacs/webpaste: Stabilize 3.2.2 amd64, #892665

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-emacs/webpaste/webpaste-3.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/webpaste/webpaste-3.2.2.ebuild b/app-emacs/webpaste/webpaste-3.2.2.ebuild
index 1d7054734a31..b019dbc03604 100644
--- a/app-emacs/webpaste/webpaste-3.2.2.ebuild
+++ b/app-emacs/webpaste/webpaste-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/etu/${PN}.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}.el-${PV}
 
 LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/webpaste/
@ 2024-03-04 21:58 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-03-04 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     aafaa9b3526cc4ba43c43da11e5e8fd09e03d471
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 21:50:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 21:57:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafaa9b3

app-emacs/webpaste: modernize ebuild

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/webpaste/webpaste-3.2.2-r1.ebuild | 45 +++++++++++++++++++++++++++++
 app-emacs/webpaste/webpaste-3.2.2.ebuild    | 32 --------------------
 2 files changed, 45 insertions(+), 32 deletions(-)

diff --git a/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild b/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild
new file mode 100644
index 000000000000..27a00d8097bc
--- /dev/null
+++ b/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Paste parts of buffers to several pastebin-like services from Emacs"
+HOMEPAGE="https://github.com/etu/webpaste.el/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/etu/${PN}.el.git"
+else
+	SRC_URI="https://github.com/etu/${PN}.el/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}.el-${PV}"
+
+	KEYWORDS="amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	app-emacs/request
+"
+BDEPEND="
+	${RDEPEND}
+	test? (
+		app-emacs/undercover
+	)
+"
+
+# Remove failing tests
+ELISP_REMOVE="
+	tests/integration/test-webpaste-providers.el
+	tests/unit/test-webpaste-provider-creation.el
+"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests buttercup tests

diff --git a/app-emacs/webpaste/webpaste-3.2.2.ebuild b/app-emacs/webpaste/webpaste-3.2.2.ebuild
deleted file mode 100644
index caedce2d6403..000000000000
--- a/app-emacs/webpaste/webpaste-3.2.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit elisp
-
-DESCRIPTION="Paste parts of buffers to several pastebin-like services from Emacs"
-HOMEPAGE="https://github.com/etu/webpaste.el/"
-SRC_URI="https://github.com/etu/${PN}.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}.el-${PV}
-
-LICENSE="GPL-3+"
-KEYWORDS="amd64 ~x86"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-emacs/request"
-BDEPEND="
-	${RDEPEND}
-	test? ( app-emacs/buttercup )
-"
-
-DOCS=( README.org )
-# Remove failing tests
-ELISP_REMOVE="tests/unit/test-webpaste-provider-creation.el"
-SITEFILE="50${PN}-gentoo.el"
-
-src_test() {
-	buttercup -L . -L tests tests/unit || die
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/webpaste/
@ 2024-03-05 23:07 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-03-05 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     dcf6095d77427dc04f436389bcdffc334883672a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 22:32:19 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 23:07:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf6095d

app-emacs/webpaste: restrict tests

Bug: https://bugs.gentoo.org/926083
Bug: https://bugs.gentoo.org/926084
Bug: https://bugs.gentoo.org/926144
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/webpaste/webpaste-3.2.2-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild b/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild
index 27a00d8097bc..f63246717db1 100644
--- a/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild
+++ b/app-emacs/webpaste/webpaste-3.2.2-r1.ebuild
@@ -22,6 +22,7 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
+RESTRICT="test"         # Old tests, w/o lexical-binding needed by buttercup >=1.34.
 
 RDEPEND="
 	app-emacs/request


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-05 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-31 11:51 [gentoo-commits] repo/gentoo:master commit in: app-emacs/webpaste/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-03-04 21:58 Maciej Barć
2024-03-05 23:07 Maciej Barć

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