From dba7f7e43cc405543826c2500dbb3bd585e3f08e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 6 Oct 2013 21:40:37 +0000 Subject: testing/py-setuptools-pep8: new aport Setuptools plugin for pep8 https://github.com/CraigJPerry/setuptools-pep8 --- testing/py-setuptools-pep8/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-setuptools-pep8/APKBUILD (limited to 'testing/py-setuptools-pep8/APKBUILD') diff --git a/testing/py-setuptools-pep8/APKBUILD b/testing/py-setuptools-pep8/APKBUILD new file mode 100644 index 0000000000..9d13e7a9de --- /dev/null +++ b/testing/py-setuptools-pep8/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-setuptools-pep8 +_pkgname=setuptools-pep8 +pkgver=0.1.3 +pkgrel=0 +pkgdesc="Setuptools plugin for pep8" +url="https://github.com/CraigJPerry/setuptools-pep8" +arch="noarch" +license="BSD" +depends="python py-pep8" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="4afdca526e4f7573749dc7af834fad17 setuptools-pep8-0.1.3.tar.gz" +sha256sums="9126a4bbb3cf4caf724a833d86e7c437aa161fc7568991a46a94e04173c2e18c setuptools-pep8-0.1.3.tar.gz" +sha512sums="cfa0e17f502bc0dcf43cf696f95468053715ad1789c54762ae64ed73805e22fec6e6675848e90b75eba6d96dfff42a671cb560e16abb9d85753966694fa127fc setuptools-pep8-0.1.3.tar.gz" -- cgit v1.2.3