summaryrefslogtreecommitdiffstats
path: root/testing/py-tftpy/APKBUILD
blob: e5f7f0577ce155c003d8d3fe2c3cd0bf91c64374 (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
29
30
# 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/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$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"
sha256sums="d8de06a543989b910e46d2793f96fb9c5cbd7f99ab014982945b58ae60289893  tftpy-0.6.0.tar.gz"
sha512sums="f1d3fa00dbb084d077ef727d5fb7d8510bc80537577f5dec8debb1b6b6563443ba0a180d4dd3371fe966e60f9fbfb1aa9eed3559af12642abf0c8b89efb82ee3  tftpy-0.6.0.tar.gz"