diff options
Diffstat (limited to 'testing/py3-flake8-snippets')
-rw-r--r-- | testing/py3-flake8-snippets/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-flake8-snippets/APKBUILD b/testing/py3-flake8-snippets/APKBUILD new file mode 100644 index 0000000000..140d671004 --- /dev/null +++ b/testing/py3-flake8-snippets/APKBUILD @@ -0,0 +1,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" |