diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 24 insertions, 10 deletions
@@ -1,13 +1,20 @@ pkgbase = graphenex pkgdesc = Automated System Hardening Framework pkgver = 1.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/grapheneX/grapheneX arch = x86_64 license = GPL3 makedepends = python-setuptools + makedepends = python-dephell depends = python - source = https://files.pythonhosted.org/packages/38/7f/902aa41f263e577ba5f75fe9d20a195181babec94e3f93c7fe858679b7f1/graphenex-1.3.1.tar.gz + depends = python-flask-socketio + depends = python-coloredlogs + depends = python-terminaltables + depends = python-pyinquirer + depends = python-psutil + depends = python-colorama + source = https://files.pythonhosted.org/packages/source/graphenex/graphenex/graphenex-1.3.1.tar.gz md5sums = fd9d49d609083bc518d7412a1f5aa62f pkgname = graphenex @@ -2,25 +2,32 @@ # https://github.com/orhun/pkgbuilds pkgname=graphenex -_pkgfolder=GrapheneX +_pkgname=GrapheneX pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Automated System Hardening Framework" url="https://github.com/grapheneX/grapheneX" -depends=('python') -makedepends=('python-setuptools') +depends=('python' 'python-flask-socketio' 'python-coloredlogs' + 'python-terminaltables' 'python-pyinquirer' 'python-psutil' + 'python-colorama') +makedepends=('python-setuptools' 'python-dephell') license=('GPL3') arch=('x86_64') -source=("https://files.pythonhosted.org/packages/38/7f/902aa41f263e577ba5f75fe9d20a195181babec94e3f93c7fe858679b7f1/graphenex-1.3.1.tar.gz") +source=("https://files.pythonhosted.org/packages/source/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('fd9d49d609083bc518d7412a1f5aa62f') +prepare() { + cd "$_pkgname-$pkgver" + dephell deps convert --from pyproject.toml --to setup.py +} + build() { - cd "$_pkgfolder-$pkgver" + cd "$_pkgname-$pkgver" python setup.py build } package() { - cd "$_pkgfolder-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 + cd "$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" } |