diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
commit | 6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch) | |
tree | 1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/py-serial | |
parent | 66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff) | |
download | aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2 aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz |
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/py-serial')
-rw-r--r-- | testing/py-serial/APKBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/py-serial/APKBUILD b/testing/py-serial/APKBUILD deleted file mode 100644 index 200eab121e..0000000000 --- a/testing/py-serial/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-serial -_realname=pyserial -pkgver=2.5 -pkgrel=0 -pkgdesc="Python Serial Port Extension" -url="http://pyserial.sourceforge.net/" -arch="noarch" -license="Python" -depends="python" -makedepends="python-dev" -install="" -subpackages="$pkgname-doc $pkgname-examples" -source="http://pypi.python.org/packages/source/p/"$_realname"/pyserial-$pkgver.tar.gz" -_builddir="$srcdir"/$_realname-$pkgver - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -doc() { - cd "$_builddir" - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/ || return 1 - # Documentation files - _docs="appendix.rst examples.rst pyparallel.rst pyserial.rst \ - pyserial_api.rst shortintro.rst" - for _doc in $_docs; do - mv "$srcdir"/$_realname-$pkgver/documentation/$_doc \ - "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 - done -} - -examples() { - cd "$_builddir" - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/examples || return 1 - # Example files - _examples="enhancedserial.py miniterm.py rfc2217_server.py scan.py \ - scanlinux.py tcp_serial_redirect.py port_publisher.py port_publisher.sh" - for _example in $_examples; do - mv "$srcdir"/$_realname-$pkgver/examples/$_example \ - "$subpkgdir"/usr/share/doc/$pkgname/examples/$_example || return 1 - done -} - -md5sums="34340820710239bea2ceca7f43ef8cab pyserial-2.5.tar.gz" |