summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-pyshortcuts/PKGBUILD39
1 files changed, 0 insertions, 39 deletions
diff --git a/python-pyshortcuts/PKGBUILD b/python-pyshortcuts/PKGBUILD
deleted file mode 100644
index 1f89c4c9b..000000000
--- a/python-pyshortcuts/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-
-pkgname='python-pyshortcuts'
-_pkgname='pyshortcuts'
-pkgver=1.8.0
-pkgrel=60
-pkgdesc='create desktop shortcuts to python scripts on Windows, Mac, or Linux'
-arch=('any')
-url='https://github.com/newville/pyshortcuts'
-license=('MIT')
-makedepends=(
- 'python-setuptools')
-depends=(
-
- 'python>=3.10'
- 'python<3.11')
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/newville/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('7ee215408a5616f6b0c41620be6fc0af80cb0d8cc4b854eb596f4a80a851a074f38b8f6e8e442414ec41ccb1831b07dfa5272b1d06d4c747104a111fa84c6d07')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
- errors=$(
- find "${pkgdir}/usr/lib"/python*/site-packages/pyshortcuts-*.egg-info -name 'requires.txt' -execdir cat {} \; \
- | sed 's/^/python-/' \
- | grep -vxF "$(printf '%s\n' "${depends[@]}")"
- ) || true
- if [ -n "${errors}" ]; then
- echo 'missing dependencies:'
- printf '%s\n' "${errors}"
- return 1
- fi
- rm -rf --one-file-system "${pkgdir}/usr/bin"
-}