public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/
@ 2022-05-31 13:14 Nicola Smaniotto
  0 siblings, 0 replies; 5+ messages in thread
From: Nicola Smaniotto @ 2022-05-31 13:14 UTC (permalink / raw
  To: gentoo-commits

commit:     47ddbd0abf290c1c6e37d632b5ddd73f88d5c338
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue May 31 13:11:57 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Tue May 31 13:13:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47ddbd0a

mpv-plugin/mpv_sponsorblock: initial import

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_sponsorblock/Manifest               |  1 +
 mpv-plugin/mpv_sponsorblock/metadata.xml           |  8 ++++
 .../mpv_sponsorblock-20211223.ebuild               | 48 ++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/mpv-plugin/mpv_sponsorblock/Manifest b/mpv-plugin/mpv_sponsorblock/Manifest
new file mode 100644
index 000000000..b2e00684c
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/Manifest
@@ -0,0 +1 @@
+DIST mpv_sponsorblock-20211223.tar.gz 19424 BLAKE2B 33e9f83ae36cd04363401edf030350f8e47ac296ef904e084a4c4d8c01192492b904720dbb45262fee813299d72def0314c3551a3c43b7c91d2a31bc842c3a4c SHA512 7bbda9999ff1954ab3992d37d0633cc31b94517d42d32c32196b8343c8b8151f2f5ce01fcec9c19e50b29fd4088a140488b54c5e6ca42afc47f63d51107756e0

diff --git a/mpv-plugin/mpv_sponsorblock/metadata.xml b/mpv-plugin/mpv_sponsorblock/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>smaniotto.nicola@gmail.com</email>
+		<name>Nicola Smaniotto</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
new file mode 100644
index 000000000..ce442491c
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{8..10} )
+inherit mpv-plugin python-any-r1
+
+COMMIT="6743bd47d4cfce3ae3d5dd4f587f3193bd4fb9b2"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="mpv script to skip sponsored segments of YouTube videos"
+HOMEPAGE="https://github.com/po5/mpv_sponsorblock"
+
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+DEPEND="
+	${PYTHON_DEPS}
+"
+
+S="${WORKDIR}/${MY_P}"
+
+MPV_PLUGIN_FILES=(
+	sponsorblock_shared
+	sponsorblock.lua
+)
+
+src_prepare() {
+	default
+
+	# we install in the system folder
+	sed -e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \
+		-i sponsorblock.lua || die
+}
+
+pkg_postinst() {
+	# will make use of the correct user folders
+	# ref: https://github.com/po5/mpv_sponsorblock/pull/17
+	ewarn "This version of the plugin is not meant to be installed for"
+	ewarn "the whole system. It is advised to add \"local_database = no\""
+	ewarn "in script-opts/sponsorblock.conf to avoid trying to write"
+	ewarn "inside root-owned directories."
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/
@ 2022-06-17  0:10 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-06-17  0:10 UTC (permalink / raw
  To: gentoo-commits

commit:     56f6f252061d80b1237310ccc8f2b4074a459233
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jun 13 12:30:46 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Jun 16 21:54:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56f6f252

mpv-plugin/mpv_sponsorblock: fix python usage

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../mpv_sponsorblock-20211223.ebuild               | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
index ce442491c..196c3ea7f 100644
--- a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
@@ -5,26 +5,23 @@ EAPI=8
 
 USE_MPV="rdepend"
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{8..10} )
-inherit mpv-plugin python-any-r1
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+inherit mpv-plugin python-single-r1
 
 COMMIT="6743bd47d4cfce3ae3d5dd4f587f3193bd4fb9b2"
-MY_P="${PN}-${COMMIT}"
-
 DESCRIPTION="mpv script to skip sponsored segments of YouTube videos"
 HOMEPAGE="https://github.com/po5/mpv_sponsorblock"
-
 SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="GPL-3"
 KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-DEPEND="
+RDEPEND="
 	${PYTHON_DEPS}
 "
 
-S="${WORKDIR}/${MY_P}"
-
 MPV_PLUGIN_FILES=(
 	sponsorblock_shared
 	sponsorblock.lua
@@ -33,16 +30,17 @@ MPV_PLUGIN_FILES=(
 src_prepare() {
 	default
 
-	# we install in the system folder
-	sed -e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \
-		-i sponsorblock.lua || die
+	# we 1) install in the system folder 2) use EPYTHON
+	sed -i sponsorblock.lua \
+		-e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \
+		-e "s|python3|${EPYTHON}|" || die
 }
 
 pkg_postinst() {
 	# will make use of the correct user folders
 	# ref: https://github.com/po5/mpv_sponsorblock/pull/17
 	ewarn "This version of the plugin is not meant to be installed for"
-	ewarn "the whole system. It is advised to add \"local_database = no\""
+	ewarn 'the whole system. It is advised to add "local_database = no"'
 	ewarn "in script-opts/sponsorblock.conf to avoid trying to write"
 	ewarn "inside root-owned directories."
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/
@ 2022-11-29 14:09 Nicola Smaniotto
  0 siblings, 0 replies; 5+ messages in thread
From: Nicola Smaniotto @ 2022-11-29 14:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f9d19e277e997f337781e73d00f7e80e7f953304
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue Nov 29 13:50:11 2022 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Tue Nov 29 14:06:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9d19e27

mpv-plugin/mpv_sponsorblock: add 20220924

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_sponsorblock/Manifest               |  1 +
 .../mpv_sponsorblock-20220924.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/mpv-plugin/mpv_sponsorblock/Manifest b/mpv-plugin/mpv_sponsorblock/Manifest
index b2e00684c..85b6dc4fa 100644
--- a/mpv-plugin/mpv_sponsorblock/Manifest
+++ b/mpv-plugin/mpv_sponsorblock/Manifest
@@ -1 +1,2 @@
 DIST mpv_sponsorblock-20211223.tar.gz 19424 BLAKE2B 33e9f83ae36cd04363401edf030350f8e47ac296ef904e084a4c4d8c01192492b904720dbb45262fee813299d72def0314c3551a3c43b7c91d2a31bc842c3a4c SHA512 7bbda9999ff1954ab3992d37d0633cc31b94517d42d32c32196b8343c8b8151f2f5ce01fcec9c19e50b29fd4088a140488b54c5e6ca42afc47f63d51107756e0
+DIST mpv_sponsorblock-20220924.tar.gz 19518 BLAKE2B bcf132f6ccfea2dc43fb9134ae03c7eb3fa712c2fb878a864f70ba6546086265c5a9510248f4032d9a1a024d8f7fbf569d711cc23962335bbfcce57ca9a540e1 SHA512 44621fbfdbbb7ebdc167040cc4db3e8290ce359574366f14e16f8c815090eea94e13ef0a73ba606a71b6cda64af039c361741d601c987a0a6d97027e0b98c0b6

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
new file mode 100644
index 000000000..e7b800c44
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+inherit mpv-plugin python-single-r1
+
+COMMIT="248d108c1280e05de551c42867aebb72cf0c83b9"
+DESCRIPTION="mpv script to skip sponsored segments of YouTube videos"
+HOMEPAGE="https://github.com/po5/mpv_sponsorblock"
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+	sponsorblock_shared
+	sponsorblock.lua
+)
+
+src_prepare() {
+	default
+
+	# we 1) install in the system folder 2) use EPYTHON
+	sed -i sponsorblock.lua \
+		-e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \
+		-e "s|python3|${EPYTHON}|" || die
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/
@ 2023-02-08 11:46 Nicola Smaniotto
  0 siblings, 0 replies; 5+ messages in thread
From: Nicola Smaniotto @ 2023-02-08 11:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e53267a7d909b29398e2242858467f41fcaed8d4
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Feb  8 11:45:44 2023 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Wed Feb  8 11:45:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e53267a7

mpv-plugin/mpv_sponsorblock: add 20230130

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_sponsorblock/Manifest               |  1 +
 .../mpv_sponsorblock-20230130.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/mpv-plugin/mpv_sponsorblock/Manifest b/mpv-plugin/mpv_sponsorblock/Manifest
index 85b6dc4fa..1ec08d7c2 100644
--- a/mpv-plugin/mpv_sponsorblock/Manifest
+++ b/mpv-plugin/mpv_sponsorblock/Manifest
@@ -1,2 +1,3 @@
 DIST mpv_sponsorblock-20211223.tar.gz 19424 BLAKE2B 33e9f83ae36cd04363401edf030350f8e47ac296ef904e084a4c4d8c01192492b904720dbb45262fee813299d72def0314c3551a3c43b7c91d2a31bc842c3a4c SHA512 7bbda9999ff1954ab3992d37d0633cc31b94517d42d32c32196b8343c8b8151f2f5ce01fcec9c19e50b29fd4088a140488b54c5e6ca42afc47f63d51107756e0
 DIST mpv_sponsorblock-20220924.tar.gz 19518 BLAKE2B bcf132f6ccfea2dc43fb9134ae03c7eb3fa712c2fb878a864f70ba6546086265c5a9510248f4032d9a1a024d8f7fbf569d711cc23962335bbfcce57ca9a540e1 SHA512 44621fbfdbbb7ebdc167040cc4db3e8290ce359574366f14e16f8c815090eea94e13ef0a73ba606a71b6cda64af039c361741d601c987a0a6d97027e0b98c0b6
+DIST mpv_sponsorblock-20230130.tar.gz 19518 BLAKE2B 5a756bc12fae3fb1c68958ac95174d4ec820d3437788591d2baa9980e667194ca87118cbc0e64c5c5967d44ecf60e53ae76c4b7e845aca81ff03f814af7f0182 SHA512 36b0b1d0a4cda9dcce84b410dd322822a7cc36bb7c8ef86422b85cc43824eb415776a24ac1b0d221b5a316932b6de45b4d88182ad2112c9abf3a0f464c2dc806

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild
new file mode 100644
index 000000000..8ab5adf50
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+inherit mpv-plugin python-single-r1
+
+COMMIT="7785c1477103f2fafabfd65fdcf28ef26e6d7f0d"
+DESCRIPTION="mpv script to skip sponsored segments of YouTube videos"
+HOMEPAGE="https://github.com/po5/mpv_sponsorblock"
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+	sponsorblock_shared
+	sponsorblock.lua
+)
+
+src_prepare() {
+	default
+
+	# we 1) install in the system folder 2) use EPYTHON
+	sed -i sponsorblock.lua \
+		-e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \
+		-e "s|python3|${EPYTHON}|" || die
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/
@ 2024-05-13  9:01 Nicola Smaniotto
  0 siblings, 0 replies; 5+ messages in thread
From: Nicola Smaniotto @ 2024-05-13  9:01 UTC (permalink / raw
  To: gentoo-commits

commit:     5c276b5273b9e31d185bc3a8e0330625f756c329
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon May 13 08:51:39 2024 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon May 13 09:00:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c276b52

mpv-plugin/mpv_sponsorblock: enable py3.12

Closes: https://bugs.gentoo.org/931464
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild | 2 +-
 mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild | 2 +-
 mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
index f6525024b3..db3141ed8a 100644
--- a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 USE_MPV="rdepend"
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 inherit mpv-plugin python-single-r1
 
 COMMIT="6743bd47d4cfce3ae3d5dd4f587f3193bd4fb9b2"

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
index bce40f6d05..6d80dc3329 100644
--- a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 USE_MPV="rdepend"
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 inherit mpv-plugin python-single-r1
 
 COMMIT="248d108c1280e05de551c42867aebb72cf0c83b9"

diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild
index eae5f2a288..a5b33d56f3 100644
--- a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 USE_MPV="rdepend"
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 inherit mpv-plugin python-single-r1
 
 COMMIT="7785c1477103f2fafabfd65fdcf28ef26e6d7f0d"


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

end of thread, other threads:[~2024-05-13  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29 14:09 [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/ Nicola Smaniotto
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13  9:01 Nicola Smaniotto
2023-02-08 11:46 Nicola Smaniotto
2022-06-17  0:10 Anna Vyalkova
2022-05-31 13:14 Nicola Smaniotto

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