Cinnamon Paketleri

This commit is contained in:
cakarsu committed 2023-06-22 19:14:41 +00:00
1 parent b5175ab600
commit 2bb5dfd655
70 files changed
+2348

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
name='py3-hatchling'
release='1'
version='1.18.0'
url='https://github.com/pypa/hatch'
description=' Modern, extensible Python build backend'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('MIT')
source=("https://github.com/pypa/hatch/archive/refs/tags/hatchling-v${version}.tar.gz")
depends=(python)
makedepends=(py3-pathspec py3-editables py3-trove-classifiers py3-pluggy)
md5sums=('18de98a22f62df1ce02b8ce55aab413a')
group=(dev.python)
uses=()
arch=('x86_64')
cd "hatch-hatchling-v"$version
build(){
python -m build --wheel --no-isolation backend
}
package(){
python -m installer --destdir="$DESTDIR" backend/dist/*.whl
install -Dm644 README.md "${DESTDIR}/usr/share/doc/${name}/README.md"
install -Dm644 backend/LICENSE.txt "${DESTDIR}/usr/share/licenses/${name}/LICENSE.txt"
}