upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-magic-filter / repos / community-any / PKGBUILD
blob86bfa066138f729af80b9cd2dd6b20845b64e94b
1 # Maintainer:
2 # Contributor: Evgeniy Filimonov <evgfilim1 at gmail dot com>
4 _pyname='magic-filter'
5 pkgname="python-${_pyname}"
6 pkgver=1.0.9
7 pkgrel=3
8 pkgdesc="A filter package based on dynamic attribute getter"
9 arch=('any')
10 url="https://github.com/aiogram/${_pyname}"
11 license=('MIT')
12 depends=(
13     'python'
15 makedepends=(
16     'python-setuptools'
18 source=("https://pypi.python.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
19 sha256sums=('d0f1ffa5ff1fbe5105fd5f293c79b5d3795f336ea0f6129c636959a687bf422a')
21 build() {
22     cd ${_pyname}-${pkgver}
23     python setup.py build
26 package() {
27     cd ${_pyname}-${pkgver}
28     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
31 # vim: ft=sh ts=4 sw=4 et