summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Koch2024-04-20 11:08:43 +0200
committerMarkus Koch2024-04-20 11:08:43 +0200
commitb11573ad36959f597837476d795141b3f9ba09ad (patch)
treeb843cc97bfa91d82842b2fd43b344643676f1f75
parentad3d7fe5f6268a3aac8632fda2de81f58b861b73 (diff)
downloadaur-b11573ad36959f597837476d795141b3f9ba09ad.tar.gz
Add optional dependencies for applets, loggers, etc.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 5 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b939331bafe..7c33a30cbbd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -16,6 +16,8 @@ pkgbase = python-glasgow-git
depends = yosys
depends = nextpnr
depends = icestorm
+ optdepends = python-aiohttp: For specific plugins (applets, loggers, etc.),
+ optdepends = python-aiohttp_remotes: For specific plugins (applets, loggers, etc.)
provides = python-glasgow
conflicts = python-glasgow
source = git+https://github.com/GlasgowEmbedded/glasgow.git
diff --git a/PKGBUILD b/PKGBUILD
index 00c45f09bac8..d97d25d97fc6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,9 @@ arch=('any')
url='https://github.com/GlasgowEmbedded/glasgow.git'
license=('0BSD' 'Apache-2.0')
depends=(python python-pyvcd python-libusb1 python-fx2 python-amaranth yosys nextpnr icestorm)
+optdepends=('python-aiohttp: For specific plugins (applets, loggers, etc.)',
+ 'python-aiohttp_remotes: For specific plugins (applets, loggers, etc.)'
+)
makedepends=(python-build python-pdm)
source=("git+https://github.com/GlasgowEmbedded/glasgow.git")
sha256sums=('SKIP')