Package Details: python-art 6.1-1

Git Clone URL: https://aur.archlinux.org/python-art.git (read-only, click to copy)
Package Base: python-art
Description: ASCII art library for Python
Upstream URL: https://github.com/sepandhaghighi/art/
Licenses: MIT
Submitter: ratata
Maintainer: ratata
Last Packager: ratata
Votes: 1
Popularity: 0.000000
First Submitted: 2021-12-21 11:39 (UTC)
Last Updated: 2024-03-03 12:07 (UTC)

Latest Comments

ratata commented on 2024-03-03 12:08 (UTC)

Just updated the package. Thanks for the heads up.

iyanmv commented on 2023-11-24 13:10 (UTC) (edited on 2023-11-24 13:10 (UTC) by iyanmv)

Hi ratata: You don't need to include the name of the package to provides, that is done automatically. Also, the LICENSE file is missing. Here is the PKGBUILD I used in case you want to reuse something

pkgname=python-art
_name=${pkgname#python-}
pkgver=6.1
pkgrel=1
pkgdesc="ASCII art library for Python "
arch=('any')
url="https://github.com/sepandhaghighi/art"
license=('MIT')
depends=('python')
makedepends=(
    'python-build'
    'python-installer'
    'python-setuptools'
    'python-wheel'
)
source=("${_name}-${pkgver}.tar.gz::https://github.com/sepandhaghighi/${_name}/archive/refs/tags/v${pkgver}.tar.gz")
b2sums=('f7f27cdad10640a87b0e4fcbf8f652b0f792e81d944e1f31fcc7119e706952522e1f61c928f4de451cd8b418f01456ba17917ed604e7ed63ff845d9fb43b2cd5')

build() {
    cd "${_name}-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "${_name}-${pkgver}"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}