public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/azote/files/, gui-apps/azote/
@ 2024-04-08 11:44 Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-04-08 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     032cd799907a4c3a067e5ebee3a9725ced55b127
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Apr  8 00:50:48 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr  8 00:51:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=032cd799

gui-apps/azote: add 1.12.6, 9999

Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 gui-apps/azote/Manifest                           |  1 +
 gui-apps/azote/azote-1.12.6.ebuild                | 54 +++++++++++++
 gui-apps/azote/azote-9999.ebuild                  | 54 +++++++++++++
 gui-apps/azote/files/azote-1.12.6-pyproject.patch | 97 +++++++++++++++++++++++
 4 files changed, 206 insertions(+)

diff --git a/gui-apps/azote/Manifest b/gui-apps/azote/Manifest
index efb593b0f4..6e7d59e436 100644
--- a/gui-apps/azote/Manifest
+++ b/gui-apps/azote/Manifest
@@ -1 +1,2 @@
 DIST azote-1.12.3.tar.gz 7972106 BLAKE2B af99f181ef635f66b2727d2ddc880d9455462e952845713642b0069fb62ad8a96420c468c3ea791dba3f2e916d013ef2a0f638ad1dc9ec3fb05e4877426b6c3b SHA512 f258bceefa58a193457295b360b05fcb65a9e114859f60ee7146e7024594e8dca38f134df92fbe6aeec058da159a320aaf212411db014fa7e8b428eb57b195ab
+DIST azote-1.12.6.tar.gz 7972892 BLAKE2B 69c01a23c9fd6e74a816ef6141cd4ebd5039d656cdbbc8402c3b0cf909a8888658a4885f2f2e36b2c97999d69a94294cf476292b7812012280a283c0b1fbb42f SHA512 8dd5b7b627f7b1f029fc30b719472044abd46a2516d626d9c8b5c48bd1af1f39fda990d09f9ba6f35186ddf0d0ae0860a59de235a1df6e4bc7626b2d3a071caa

diff --git a/gui-apps/azote/azote-1.12.6.ebuild b/gui-apps/azote/azote-1.12.6.ebuild
new file mode 100644
index 0000000000..89ca0930b1
--- /dev/null
+++ b/gui-apps/azote/azote-1.12.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit desktop distutils-r1 optfeature xdg-utils
+
+DESCRIPTION="wallpaper manager for wlroots compositors"
+HOMEPAGE="https://github.com/nwg-piotr/azote"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
+else
+	SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+
+RDEPEND="
+	dev-cpp/gtkmm:3.0
+	dev-python/pillow[${PYTHON_USEDEP}]
+	dev-python/pygobject:3=[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/send2trash[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.12.6-pyproject.patch
+)
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	cd "${S}"
+
+	domenu dist/azote.desktop
+
+	insinto /usr/share/azote
+	doins dist/azote.svg dist/indicator_{active,attention}.png
+	insinto /usr/share/licenses/azote
+	doins LICENSE-COLORTHIEF
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+
+	optfeature "wayland support" gui-apps/grim gui-apps/slurp gui-apps/swaybg gui-apps/wlr-randr
+	optfeature "X support"       media-gfx/feh media-gfx/maim x11-apps/xrandr x11-misc/slop
+}

diff --git a/gui-apps/azote/azote-9999.ebuild b/gui-apps/azote/azote-9999.ebuild
new file mode 100644
index 0000000000..89ca0930b1
--- /dev/null
+++ b/gui-apps/azote/azote-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit desktop distutils-r1 optfeature xdg-utils
+
+DESCRIPTION="wallpaper manager for wlroots compositors"
+HOMEPAGE="https://github.com/nwg-piotr/azote"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
+else
+	SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+
+RDEPEND="
+	dev-cpp/gtkmm:3.0
+	dev-python/pillow[${PYTHON_USEDEP}]
+	dev-python/pygobject:3=[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/send2trash[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.12.6-pyproject.patch
+)
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	cd "${S}"
+
+	domenu dist/azote.desktop
+
+	insinto /usr/share/azote
+	doins dist/azote.svg dist/indicator_{active,attention}.png
+	insinto /usr/share/licenses/azote
+	doins LICENSE-COLORTHIEF
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+
+	optfeature "wayland support" gui-apps/grim gui-apps/slurp gui-apps/swaybg gui-apps/wlr-randr
+	optfeature "X support"       media-gfx/feh media-gfx/maim x11-apps/xrandr x11-misc/slop
+}

diff --git a/gui-apps/azote/files/azote-1.12.6-pyproject.patch b/gui-apps/azote/files/azote-1.12.6-pyproject.patch
new file mode 100644
index 0000000000..d8ca8be96f
--- /dev/null
+++ b/gui-apps/azote/files/azote-1.12.6-pyproject.patch
@@ -0,0 +1,97 @@
+From d3605d93627f0d756c2c570e7ef0ad6e751d8eb3 Mon Sep 17 00:00:00 2001
+From: Aisha Tammy <aisha@bsd.ac>
+Date: Sun, 7 Apr 2024 20:32:01 -0400
+Subject: [PATCH 1/2] feat: add pyproject.toml
+
+---
+ pyproject.toml | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+ create mode 100644 pyproject.toml
+
+diff --git a/pyproject.toml b/pyproject.toml
+new file mode 100644
+index 0000000..fec8478
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,27 @@
++[build-system]
++requires = ["setuptools >= 61.0"]
++build-backend = "setuptools.build_meta"
++
++[project]
++name = "azote"
++version = "1.12.6"
++description = "Wallpaper manager for sway and some other WMs"
++readme = "README.md"
++license = {text = "GPL3"}
++requires-python = ">= 3.8.0"
++authors = [
++  {name = "Piotr Miller", email = "nwg.piotr@gmail.com"},
++]
++dependencies = [
++  "pillow",
++  "PyGObject",
++  "PyYAML",
++  "Send2Trash",
++]
++
++[project.urls]
++Repository = "https://github.com/nwg-piotr/azote"
++License = "https://github.com/nwg-piotr/azote/blob/master/LICENSE"
++
++[project.scripts]
++azote = "azote.main:main"
+
+From 769d027dfa40c218075827ca50241a2395240bea Mon Sep 17 00:00:00 2001
+From: Aisha Tammy <aisha@bsd.ac>
+Date: Sun, 7 Apr 2024 20:33:21 -0400
+Subject: [PATCH 2/2] scratch
+
+---
+ dist/azote |  5 -----
+ setup.py   | 24 ------------------------
+ 2 files changed, 29 deletions(-)
+ delete mode 100755 dist/azote
+ delete mode 100644 setup.py
+
+diff --git a/dist/azote b/dist/azote
+deleted file mode 100755
+index 7684782..0000000
+--- a/dist/azote
++++ /dev/null
+@@ -1,5 +0,0 @@
+-#!/bin/sh
+-
+-LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('purelib'))")
+-cd $LIB/azote
+-exec /usr/bin/python3 main.py "$@"
+diff --git a/setup.py b/setup.py
+deleted file mode 100644
+index 86cfe6d..0000000
+--- a/setup.py
++++ /dev/null
+@@ -1,24 +0,0 @@
+-import os
+-from setuptools import setup, find_packages
+-
+-
+-def read(f_name):
+-    return open(os.path.join(os.path.dirname(__file__), f_name)).read()
+-
+-
+-setup(
+-    name='azote',
+-    version='1.12.6',
+-    description='Wallpaper manager for sway and some other WMs',
+-    packages=find_packages(),
+-    include_package_data=True,
+-    package_data={
+-        "": ["images/*", "langs/*"]
+-    },
+-    url='https://github.com/nwg-piotr/azote',
+-    license='GPL3',
+-    author='Piotr Miller',
+-    author_email='nwg.piotr@gmail.com',
+-    python_requires='>=3.8.0',
+-    install_requires=[],
+-)


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

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/azote/files/, gui-apps/azote/
@ 2024-08-30 13:16 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-08-30 13:16 UTC (permalink / raw
  To: gentoo-commits

commit:     8f71251590b1a980148dc7a02e343b1dce6a2125
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Thu Aug 29 22:54:12 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Aug 29 22:54:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f712515

gui-apps/azote: add 1.13.0, drop 1.12.6

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 gui-apps/azote/Manifest                            |  2 +-
 .../{azote-1.12.6.ebuild => azote-1.13.0.ebuild}   |  2 +-
 gui-apps/azote/azote-9999.ebuild                   |  2 +-
 ...yproject.patch => azote-1.13.0-pyproject.patch} | 23 +++++++++-------------
 4 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/gui-apps/azote/Manifest b/gui-apps/azote/Manifest
index 310c1a64e..dfaf599b8 100644
--- a/gui-apps/azote/Manifest
+++ b/gui-apps/azote/Manifest
@@ -1 +1 @@
-DIST azote-1.12.6.tar.gz 7972892 BLAKE2B 69c01a23c9fd6e74a816ef6141cd4ebd5039d656cdbbc8402c3b0cf909a8888658a4885f2f2e36b2c97999d69a94294cf476292b7812012280a283c0b1fbb42f SHA512 8dd5b7b627f7b1f029fc30b719472044abd46a2516d626d9c8b5c48bd1af1f39fda990d09f9ba6f35186ddf0d0ae0860a59de235a1df6e4bc7626b2d3a071caa
+DIST azote-1.13.0.tar.gz 7972973 BLAKE2B 5584f4cbced1eaec560ab24fef7d9a7865fe1ae676e95c2e46abf5d443d972aed25da08986ced86841adb57ec3efc7690e04d452c7438187366e54a2b7e9ed07 SHA512 5a61cb0e9320705ec191b049bb946159f5970ac8f78386539c73b643794a2e0233c5cd967c3df854b0abe45f2d9376ec13b7a6452d8d70b1d0cf0d974f65b890

diff --git a/gui-apps/azote/azote-1.12.6.ebuild b/gui-apps/azote/azote-1.13.0.ebuild
similarity index 96%
rename from gui-apps/azote/azote-1.12.6.ebuild
rename to gui-apps/azote/azote-1.13.0.ebuild
index 89ca0930b..0f2367252 100644
--- a/gui-apps/azote/azote-1.12.6.ebuild
+++ b/gui-apps/azote/azote-1.13.0.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
 "
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-1.12.6-pyproject.patch
+	"${FILESDIR}"/${PN}-1.13.0-pyproject.patch
 )
 
 python_install_all() {

diff --git a/gui-apps/azote/azote-9999.ebuild b/gui-apps/azote/azote-9999.ebuild
index 89ca0930b..0f2367252 100644
--- a/gui-apps/azote/azote-9999.ebuild
+++ b/gui-apps/azote/azote-9999.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
 "
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-1.12.6-pyproject.patch
+	"${FILESDIR}"/${PN}-1.13.0-pyproject.patch
 )
 
 python_install_all() {

diff --git a/gui-apps/azote/files/azote-1.12.6-pyproject.patch b/gui-apps/azote/files/azote-1.13.0-pyproject.patch
similarity index 85%
rename from gui-apps/azote/files/azote-1.12.6-pyproject.patch
rename to gui-apps/azote/files/azote-1.13.0-pyproject.patch
index d8ca8be96..d71442e8a 100644
--- a/gui-apps/azote/files/azote-1.12.6-pyproject.patch
+++ b/gui-apps/azote/files/azote-1.13.0-pyproject.patch
@@ -54,24 +54,14 @@ Subject: [PATCH 2/2] scratch
  delete mode 100755 dist/azote
  delete mode 100644 setup.py
 
-diff --git a/dist/azote b/dist/azote
-deleted file mode 100755
-index 7684782..0000000
---- a/dist/azote
-+++ /dev/null
-@@ -1,5 +0,0 @@
--#!/bin/sh
--
--LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('purelib'))")
--cd $LIB/azote
--exec /usr/bin/python3 main.py "$@"
 diff --git a/setup.py b/setup.py
 deleted file mode 100644
-index 86cfe6d..0000000
+index bc0cd1e..0000000
 --- a/setup.py
 +++ /dev/null
-@@ -1,24 +0,0 @@
+@@ -1,30 +0,0 @@
 -import os
+-
 -from setuptools import setup, find_packages
 -
 -
@@ -81,7 +71,7 @@ index 86cfe6d..0000000
 -
 -setup(
 -    name='azote',
--    version='1.12.6',
+-    version='1.13.0',
 -    description='Wallpaper manager for sway and some other WMs',
 -    packages=find_packages(),
 -    include_package_data=True,
@@ -94,4 +84,9 @@ index 86cfe6d..0000000
 -    author_email='nwg.piotr@gmail.com',
 -    python_requires='>=3.8.0',
 -    install_requires=[],
+-    entry_points={
+-        'gui_scripts': [
+-            'azote = azote.main:main'
+-        ]
+-    }
 -)


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

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/azote/files/, gui-apps/azote/
@ 2024-09-25 13:53 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-09-25 13:53 UTC (permalink / raw
  To: gentoo-commits

commit:     7c37b049ecc8848bcabb87ad267eec5ba8522e63
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Wed Sep 25 01:16:50 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Sep 25 01:21:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c37b049

gui-apps/azote: add 1.13.1, drop 1.13.0

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 gui-apps/azote/Manifest                                      |  2 +-
 gui-apps/azote/{azote-1.13.0.ebuild => azote-1.13.1.ebuild}  | 12 +++++++++---
 gui-apps/azote/azote-9999.ebuild                             | 12 +++++++++---
 ...e-1.13.0-pyproject.patch => azote-1.13.1-pyproject.patch} |  4 ++--
 4 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/gui-apps/azote/Manifest b/gui-apps/azote/Manifest
index dfaf599b8..64d649427 100644
--- a/gui-apps/azote/Manifest
+++ b/gui-apps/azote/Manifest
@@ -1 +1 @@
-DIST azote-1.13.0.tar.gz 7972973 BLAKE2B 5584f4cbced1eaec560ab24fef7d9a7865fe1ae676e95c2e46abf5d443d972aed25da08986ced86841adb57ec3efc7690e04d452c7438187366e54a2b7e9ed07 SHA512 5a61cb0e9320705ec191b049bb946159f5970ac8f78386539c73b643794a2e0233c5cd967c3df854b0abe45f2d9376ec13b7a6452d8d70b1d0cf0d974f65b890
+DIST azote-1.13.1.tar.gz 7973313 BLAKE2B 86c54fc1f9b06ff8a8405784a5d54e6021d1f43d0dce45e3211f4395a68238ae6fb7e088634826eb95b05126dea717e96373348958380427d24639a1376f64b7 SHA512 fd6d1ac24e05ed98785b20d1e47b65e77b5bf3a55a25ce7fb29e0394f0ce540d11cc39dfb40f0aa12a4900d9524219bf534fc411360009a48456c71c2774da2a

diff --git a/gui-apps/azote/azote-1.13.0.ebuild b/gui-apps/azote/azote-1.13.1.ebuild
similarity index 82%
rename from gui-apps/azote/azote-1.13.0.ebuild
rename to gui-apps/azote/azote-1.13.1.ebuild
index a14f31f7b..933b37146 100644
--- a/gui-apps/azote/azote-1.13.0.ebuild
+++ b/gui-apps/azote/azote-1.13.1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
 else
-	SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/nwg-piotr/azote/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
@@ -30,9 +30,11 @@ RDEPEND="
 "
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-1.13.0-pyproject.patch
+	"${FILESDIR}"/${PN}-1.13.1-pyproject.patch
 )
 
+DOCS=( README.md )
+
 python_install_all() {
 	distutils-r1_python_install_all
 
@@ -40,10 +42,14 @@ python_install_all() {
 
 	domenu dist/azote.desktop
 
+	insinto /usr/share/pixmaps
+	doins dist/azote.svg
 	insinto /usr/share/azote
-	doins dist/azote.svg dist/indicator_{active,attention}.png
+	doins dist/indicator_*.png
 	insinto /usr/share/licenses/azote
 	doins LICENSE-COLORTHIEF
+
+	einstalldocs
 }
 
 pkg_postinst() {

diff --git a/gui-apps/azote/azote-9999.ebuild b/gui-apps/azote/azote-9999.ebuild
index a14f31f7b..933b37146 100644
--- a/gui-apps/azote/azote-9999.ebuild
+++ b/gui-apps/azote/azote-9999.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
 else
-	SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/nwg-piotr/azote/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
@@ -30,9 +30,11 @@ RDEPEND="
 "
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-1.13.0-pyproject.patch
+	"${FILESDIR}"/${PN}-1.13.1-pyproject.patch
 )
 
+DOCS=( README.md )
+
 python_install_all() {
 	distutils-r1_python_install_all
 
@@ -40,10 +42,14 @@ python_install_all() {
 
 	domenu dist/azote.desktop
 
+	insinto /usr/share/pixmaps
+	doins dist/azote.svg
 	insinto /usr/share/azote
-	doins dist/azote.svg dist/indicator_{active,attention}.png
+	doins dist/indicator_*.png
 	insinto /usr/share/licenses/azote
 	doins LICENSE-COLORTHIEF
+
+	einstalldocs
 }
 
 pkg_postinst() {

diff --git a/gui-apps/azote/files/azote-1.13.0-pyproject.patch b/gui-apps/azote/files/azote-1.13.1-pyproject.patch
similarity index 97%
rename from gui-apps/azote/files/azote-1.13.0-pyproject.patch
rename to gui-apps/azote/files/azote-1.13.1-pyproject.patch
index d71442e8a..991fd62eb 100644
--- a/gui-apps/azote/files/azote-1.13.0-pyproject.patch
+++ b/gui-apps/azote/files/azote-1.13.1-pyproject.patch
@@ -56,7 +56,7 @@ Subject: [PATCH 2/2] scratch
 
 diff --git a/setup.py b/setup.py
 deleted file mode 100644
-index bc0cd1e..0000000
+index 8f1e4f6..0000000
 --- a/setup.py
 +++ /dev/null
 @@ -1,30 +0,0 @@
@@ -71,7 +71,7 @@ index bc0cd1e..0000000
 -
 -setup(
 -    name='azote',
--    version='1.13.0',
+-    version='1.13.1',
 -    description='Wallpaper manager for sway and some other WMs',
 -    packages=find_packages(),
 -    include_package_data=True,


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

end of thread, other threads:[~2024-09-25 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-08 11:44 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/azote/files/, gui-apps/azote/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 13:16 David Roman
2024-09-25 13:53 David Roman

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