~dricottone/huttese-apk

ref: 3e6fa8548e075fea95f5b6c6e649934c13cbaa4e huttese-apk/sr.ht/py3-editor/APKBUILD -rw-r--r-- 846 bytes
3e6fa854 — Drew DeVault sr.ht/py3-editor: bump pkgrel 5 years ago
                                                                                
cb4c58b7 Drew DeVault
3e6fa854 Drew DeVault
cb4c58b7 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-editor
_pyname=python-editor
pkgver=1.0.4
pkgrel=1
pkgdesc="Programmatically open an editor, capture the result"
url="https://github.com/fmoo/python-editor"
arch="noarch"
license="Apache"
makedepends="python3-dev py3-setuptools py3-six"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-editor"
builddir="$srcdir/${_pyname}-${pkgver}"
# This package is very simple and has no tests
options="$options !check"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c8ce2403bfe6c93935c7f4c384a8618a39cdaefe1ff5b1ff2cf4562866d8b3caa616e428c0a1634a56db934caeb474e7f84f8d5e009b9ed664189fdece8146f6  python-editor-1.0.4.tar.gz"