diff options
author | Caleb Maclennan | 2024-04-30 22:34:12 +0300 |
---|---|---|
committer | Caleb Maclennan | 2024-04-30 22:34:12 +0300 |
commit | 2386654aa93ebc7d330a162237ae362212ad7874 (patch) | |
tree | bfc1d3d1ca098f1b65611e5678b390e316cd60c5 /PKGBUILD | |
parent | 23cad7818b836b51e18b20e087950862cd50778f (diff) | |
download | aur-flowify.tar.gz |
upgpkg: flowify 0.1.0-2
Rebuild for Python 3.12, cleanup packaging odds and ends
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -2,11 +2,11 @@ pkgname=flowify pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Turn a font into a flow font' arch=(any) -url="https://github.com/simoncozens/$pkgname" -license=(Apache) +url="https://github.com/googlefonts/$pkgname" +license=(Apache-2.0) _pydeps=(fontfeatures inflect numpy @@ -14,9 +14,8 @@ _pydeps=(fontfeatures ufolib2) depends=(python "${_pydeps[@]/#/python-}") -makedepends=(python-{build,installer} - python-poetry - python-wheel) +makedepends=(python-{build,installer,wheel} + python-poetry-core) _archive="$pkgname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz") sha256sums=('d884e5132b319b0f67fc86c4555e07a3a93351c95c8b37b52bfd4cecdaf297be') @@ -24,6 +23,10 @@ sha256sums=('d884e5132b319b0f67fc86c4555e07a3a93351c95c8b37b52bfd4cecdaf297be') prepare() { cd "$_archive" mv flowify/{__main__,main}.py + sed -i \ + -e '/poetry/s/>=0.12/-core/' \ + -e '/build-backend/s/masonry/core.masonry/' \ + pyproject.toml } build() { |