python3-incremental: adopted port

This commit is contained in:
Tim Biermann 2023-08-13 09:17:07 +02:00
parent 602b2ae014
commit b9841d968d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34x90RvlN2Fy5+2M2ivE86AWSpQuiNos9HnnzjggAhiwRi1uAuU9mSnHAE/n9mkiPR6ESXLeR2Fq9BMaBaHnRQI=
SHA256 (Pkgfile) = fd7bc4508c14e5bd279c5623365cb780224246c66678fe4cfe98ba29d297270a
RWSagIOpLGJF37wijdbGHWIy+obY3KVpCMMdmOtCiRMC5cfg3SbYrsZfQOgnFB5tENSzsFfGBY7SjUalGa7uq9KiH1h0Kl3R5gw=
SHA256 (Pkgfile) = 837b55e90c2aab8b3702d2b82c798df43f0b4d4fe6d3dc143a1a6fbbf8aa3104
SHA256 (.footprint) = f19dbe3fcdf2c5d3470b206a3ca6d39bbcd2a994c65596b45d17f7b6cb0705cf
SHA256 (incremental-22.10.0.tar.gz) = 912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0

View File

@ -1,6 +1,6 @@
# Description: A small library that versions your Python projects.
# URL: https://pypi.python.org/pypi/incremental
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools
name=python3-incremental
@ -9,7 +9,8 @@ release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}