gui-apps/azote: add 1.14.0, drop 1.13.1

no need to use pyproject.toml

Signed-off-by: Daichi Yamamoto <dev@dyama.net>
This commit is contained in:
Daichi Yamamoto
2024-12-03 08:40:39 +09:00
parent 1d47e08771
commit ead16d0f5a
4 changed files with 3 additions and 103 deletions

View File

@@ -1 +1 @@
DIST azote-1.13.1.tar.gz 7973313 BLAKE2B 86c54fc1f9b06ff8a8405784a5d54e6021d1f43d0dce45e3211f4395a68238ae6fb7e088634826eb95b05126dea717e96373348958380427d24639a1376f64b7 SHA512 fd6d1ac24e05ed98785b20d1e47b65e77b5bf3a55a25ce7fb29e0394f0ce540d11cc39dfb40f0aa12a4900d9524219bf534fc411360009a48456c71c2774da2a
DIST azote-1.14.0.tar.gz 7973989 BLAKE2B 016f9ded87c603b563ed874892d79f5e0f15e6608ad435546329c319a43ec31a7334631bdcc7f8be5fff98413ca77aaebd8682ea2563b02a8bd666eeeab8911b SHA512 c700946cb56c9d15111949f46e107cc6b9887916ab90c782fe78c7deb09a6964cf19e69f143b86cdc44a34ea6aaeec5b0d28d64f7bc24402fc44fc201531f9ef

View File

@@ -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/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -29,10 +29,6 @@ RDEPEND="
dev-python/send2trash[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${PN}-1.13.1-pyproject.patch
)
DOCS=( README.md )
python_install_all() {

View File

@@ -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/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -29,10 +29,6 @@ RDEPEND="
dev-python/send2trash[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${PN}-1.13.1-pyproject.patch
)
DOCS=( README.md )
python_install_all() {

View File

@@ -1,92 +0,0 @@
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/setup.py b/setup.py
deleted file mode 100644
index 8f1e4f6..0000000
--- a/setup.py
+++ /dev/null
@@ -1,30 +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.13.1',
- 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=[],
- entry_points={
- 'gui_scripts': [
- 'azote = azote.main:main'
- ]
- }
-)