aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-tftpy/APKBUILD
blob: c0f2766da3f9547c5ef5f927a2b0b6ae56c8cc56 (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=tftpy
pkgver=0.6.0
pkgrel=0
pkgdesc="A Pure Python TFTP Protocol Implementation"
url="http://tftpy.sourceforge.net/"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/tftpy/tftpy-$pkgver.tar.gz"
_builddir="$srcdir"/tftpy-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="b306d30ef1799f1932540a54cd72f79d  tftpy-0.6.0.tar.gz"