blob: 140d6710043fda787277a96a5b17cd6591362641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-snippets
_pkgname=flake8-snippets
pkgver=0.1
pkgrel=4
pkgdesc="Extension for flake8 which lint for code snippets"
url="https://github.com/bitmazk/flake8-snippets"
arch="noarch"
license="MIT"
depends="flake8"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="c1724b6d6442f8c91f92bad33741d687 flake8-snippets-0.1.tar.gz"
sha256sums="80fc92ea1ffa10b53c13fa8eb79dbe1993439cec777ea2737f9b2908c2c1e9e0 flake8-snippets-0.1.tar.gz"
sha512sums="5c08f96c2470381c59223e796ed9a76ff5bb2abeb6b85204b1af1ccfa0855b13f3629c3f8d83f931328de50fa6916e6c52b4816a83e65e88deefc815c46ea30a flake8-snippets-0.1.tar.gz"
|