From 0479764a43bd4b5e091121044a7ad199f4d9f6b4 Mon Sep 17 00:00:00 2001 From: xdavius Date: Tue, 17 Dec 2024 16:26:54 +0100 Subject: [PATCH 1/3] add: python3-sphinx-hawkmoth --- packagelist | 1 + packages/python3-sphinx-hawkmoth/.SRCINFO | 25 ++++++++++++ .../python3-sphinx-hawkmoth.pacscript | 38 +++++++++++++++++++ srclist | 26 +++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 packages/python3-sphinx-hawkmoth/.SRCINFO create mode 100644 packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript diff --git a/packagelist b/packagelist index 6006d129e8..13cfae5ade 100644 --- a/packagelist +++ b/packagelist @@ -455,6 +455,7 @@ python3-levenshtein-deb python3-material-color-utilities python3-moddb python3-pypresence +python3-sphinx-hawkmoth python3-vkbasalt-cli python3-zombie-imp qogir-gtk-theme-bin diff --git a/packages/python3-sphinx-hawkmoth/.SRCINFO b/packages/python3-sphinx-hawkmoth/.SRCINFO new file mode 100644 index 0000000000..8f9bb1b5aa --- /dev/null +++ b/packages/python3-sphinx-hawkmoth/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = python3-sphinx-hawkmoth + gives = python3-sphinx-hawkmoth + pkgver = 0.19.0 + pkgrel = 2 + pkgdesc = Sphinx autodoc C extension + url = https://github.com/jnikula/hawkmoth + arch = x86_64 + depends = clang + depends = python3 + depends = python3-docutils + depends = python3-sphinx + depends = python3-clang + makedepends = git + makedepends = python3-build + makedepends = python3-hatchling + makedepends = python3-installer + makedepends = python3-setuptools + makedepends = python3-wheel + pacdeps = python3-editables + license = BSD-2-Clause + maintainer = xdavius + source = python3-sphinx-hawkmoth::https://github.com/jnikula/hawkmoth/archive/refs/tags/v0.19.0.tar.gz + sha256sums = baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667 + +pkgname = python3-sphinx-hawkmoth diff --git a/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript new file mode 100644 index 0000000000..cdbfb9b825 --- /dev/null +++ b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript @@ -0,0 +1,38 @@ +pkgname=python3-sphinx-hawkmoth +gives=python3-sphinx-hawkmoth +pkgver=0.19.0 +pkgrel=2 +pkgdesc="Sphinx autodoc C extension" +url="https://github.com/jnikula/hawkmoth" +arch=(x86_64) +license=(BSD-2-Clause) +maintainer=("xdavius ") +depends=( + clang + python3 + python3-docutils + python3-sphinx + python3-clang +) +makedepends=( + git + python3-build + python3-hatchling + python3-installer + python3-setuptools + python3-wheel +) +pacdeps=("python3-editables") +source=("${pkgname}::https://github.com/jnikula/hawkmoth/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667') + +build() { + cd "hawkmoth-${pkgver}" + python3 -m build --wheel --no-isolation +} + +package() { + cd "hawkmoth-${pkgver}" + python3 -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/srclist b/srclist index a5bf0efe22..8997863a2b 100644 --- a/srclist +++ b/srclist @@ -9163,6 +9163,32 @@ pkgbase = python3-pypresence pkgname = python3-pypresence --- +pkgbase = python3-sphinx-hawkmoth + gives = python3-sphinx-hawkmoth + pkgver = 0.19.0 + pkgrel = 2 + pkgdesc = Sphinx autodoc C extension + url = https://github.com/jnikula/hawkmoth + arch = x86_64 + depends = clang + depends = python3 + depends = python3-docutils + depends = python3-sphinx + depends = python3-clang + makedepends = git + makedepends = python3-build + makedepends = python3-hatchling + makedepends = python3-installer + makedepends = python3-setuptools + makedepends = python3-wheel + pacdeps = python3-editables + license = BSD-2-Clause + maintainer = xdavius + source = python3-sphinx-hawkmoth::https://github.com/jnikula/hawkmoth/archive/refs/tags/v0.19.0.tar.gz + sha256sums = baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667 + +pkgname = python3-sphinx-hawkmoth +--- pkgbase = python3-vkbasalt-cli pkgver = 3.1.1 pkgdesc = Command-line utility for vkBasalt From 221b583052a6ecd4143fa798a297445b4b58f2d4 Mon Sep 17 00:00:00 2001 From: xdavius Date: Wed, 18 Dec 2024 21:17:53 +0100 Subject: [PATCH 2/3] changed arch to any, changed style to elsie one --- packages/python3-sphinx-hawkmoth/.SRCINFO | 2 +- .../python3-sphinx-hawkmoth.pacscript | 25 +++++-------------- srclist | 2 +- 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/packages/python3-sphinx-hawkmoth/.SRCINFO b/packages/python3-sphinx-hawkmoth/.SRCINFO index 8f9bb1b5aa..c9d6484ac2 100644 --- a/packages/python3-sphinx-hawkmoth/.SRCINFO +++ b/packages/python3-sphinx-hawkmoth/.SRCINFO @@ -4,7 +4,7 @@ pkgbase = python3-sphinx-hawkmoth pkgrel = 2 pkgdesc = Sphinx autodoc C extension url = https://github.com/jnikula/hawkmoth - arch = x86_64 + arch = any depends = clang depends = python3 depends = python3-docutils diff --git a/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript index cdbfb9b825..62e97bad1e 100644 --- a/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript +++ b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript @@ -2,26 +2,13 @@ pkgname=python3-sphinx-hawkmoth gives=python3-sphinx-hawkmoth pkgver=0.19.0 pkgrel=2 -pkgdesc="Sphinx autodoc C extension" -url="https://github.com/jnikula/hawkmoth" -arch=(x86_64) -license=(BSD-2-Clause) +pkgdesc='Sphinx autodoc C extension' +url='https://github.com/jnikula/hawkmoth' +arch=("any") +license=('BSD-2-Clause') maintainer=("xdavius ") -depends=( - clang - python3 - python3-docutils - python3-sphinx - python3-clang -) -makedepends=( - git - python3-build - python3-hatchling - python3-installer - python3-setuptools - python3-wheel -) +depends=('clang' 'python3' 'python3-docutils' 'python3-sphinx' 'python3-clang') +makedepends=('git' 'python3-build' 'python3-hatchling' 'python3-installer' 'python3-setuptools' 'python3-wheel') pacdeps=("python3-editables") source=("${pkgname}::https://github.com/jnikula/hawkmoth/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667') diff --git a/srclist b/srclist index 8997863a2b..a3302cfdbf 100644 --- a/srclist +++ b/srclist @@ -9169,7 +9169,7 @@ pkgbase = python3-sphinx-hawkmoth pkgrel = 2 pkgdesc = Sphinx autodoc C extension url = https://github.com/jnikula/hawkmoth - arch = x86_64 + arch = any depends = clang depends = python3 depends = python3-docutils From bab52bf1646d2d6470bb8db71eee3a09ed829011 Mon Sep 17 00:00:00 2001 From: xdavius Date: Mon, 13 Jan 2025 12:48:17 +0100 Subject: [PATCH 3/3] fixed hash --- packages/python3-sphinx-hawkmoth/.SRCINFO | 2 +- .../python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript | 2 +- srclist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/python3-sphinx-hawkmoth/.SRCINFO b/packages/python3-sphinx-hawkmoth/.SRCINFO index c9d6484ac2..970fd2418c 100644 --- a/packages/python3-sphinx-hawkmoth/.SRCINFO +++ b/packages/python3-sphinx-hawkmoth/.SRCINFO @@ -20,6 +20,6 @@ pkgbase = python3-sphinx-hawkmoth license = BSD-2-Clause maintainer = xdavius source = python3-sphinx-hawkmoth::https://github.com/jnikula/hawkmoth/archive/refs/tags/v0.19.0.tar.gz - sha256sums = baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667 + sha256sums = 998b1d031383b8993b20622f851b88e787a71c0ece41f86d996c1402a3ef42ae pkgname = python3-sphinx-hawkmoth diff --git a/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript index 62e97bad1e..7d8dfa2b24 100644 --- a/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript +++ b/packages/python3-sphinx-hawkmoth/python3-sphinx-hawkmoth.pacscript @@ -11,7 +11,7 @@ depends=('clang' 'python3' 'python3-docutils' 'python3-sphinx' 'python3-clang') makedepends=('git' 'python3-build' 'python3-hatchling' 'python3-installer' 'python3-setuptools' 'python3-wheel') pacdeps=("python3-editables") source=("${pkgname}::https://github.com/jnikula/hawkmoth/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667') +sha256sums=('998b1d031383b8993b20622f851b88e787a71c0ece41f86d996c1402a3ef42ae') build() { cd "hawkmoth-${pkgver}" diff --git a/srclist b/srclist index b8b8ac8690..756637beab 100644 --- a/srclist +++ b/srclist @@ -9495,7 +9495,7 @@ pkgbase = python3-sphinx-hawkmoth license = BSD-2-Clause maintainer = xdavius source = python3-sphinx-hawkmoth::https://github.com/jnikula/hawkmoth/archive/refs/tags/v0.19.0.tar.gz - sha256sums = baf4d68c834a8cf3651c242b2e9be2b6c0f47f265648380f5eccbec2a7cc8667 + sha256sums = 998b1d031383b8993b20622f851b88e787a71c0ece41f86d996c1402a3ef42ae pkgname = python3-sphinx-hawkmoth ---