From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70E03158041 for ; Mon, 8 Apr 2024 11:44:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFD61E2A26; Mon, 8 Apr 2024 11:44:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 975EDE2A26 for ; Mon, 8 Apr 2024 11:44:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C752F343374 for ; Mon, 8 Apr 2024 11:44:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D19816A6 for ; Mon, 8 Apr 2024 11:44:18 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1712537500.032cd799907a4c3a067e5ebee3a9725ced55b127.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/azote/files/, gui-apps/azote/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/azote/Manifest gui-apps/azote/azote-1.12.6.ebuild gui-apps/azote/azote-9999.ebuild gui-apps/azote/files/azote-1.12.6-pyproject.patch X-VCS-Directories: gui-apps/azote/ gui-apps/azote/files/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 032cd799907a4c3a067e5ebee3a9725ced55b127 X-VCS-Branch: master Date: Mon, 8 Apr 2024 11:44:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 194a8082-6dd4-42db-bfd7-2f63af53fd2e X-Archives-Hash: b6b832a6a62cada5b716d2b3024212a7 commit: 032cd799907a4c3a067e5ebee3a9725ced55b127 Author: Aisha Tammy aisha cc> AuthorDate: Mon Apr 8 00:50:48 2024 +0000 Commit: Julien Roy jroy 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 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 +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 +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=[], +-)