summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD76
2 files changed, 1 insertions, 107 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f46294817d..b704d03e6c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,6 @@ pkgbase = python-mbed-os-tools
arch = any
license = Apache
makedepends = python-setuptools
- makedepends = python2-setuptools
source = python-mbed-os-tools-0.0.15.tar.gz::https://github.com/ARMmbed/mbed-os-tools/archive/v0.0.15.tar.gz
sha256sums = 60e77755e43d9dc0612ecbbb02ff3321dd79993a664a22c3ad2405f6de61c7e2
@@ -41,34 +40,3 @@ pkgname = python-mbed-greentea
depends = python-mbed-os-tools
conflicts = python2-mbed-greentea
-pkgname = python2-mbed-os-tools
- depends = python2
- depends = python2-pyserial
- depends = python2-requests
- depends = python2-intelhex
- depends = python2-future
- depends = python2-prettytable
- depends = python2-fasteners
- depends = python2-appdirs
- depends = python2-junit-xml
- depends = python2-lockfile
- depends = python2-six
- depends = python2-colorama
- depends = python2-beautifulsoup4
-
-pkgname = python2-mbed-ls
- depends = python
- depends = python-prettytable
- depends = python-mbed-os-tools
- conflicts = python-mbed-ls
-
-pkgname = python2-mbed-host-tests
- depends = python
- depends = python-mbed-os-tools
- conflicts = python-mbed-host-tests
-
-pkgname = python2-mbed-greentea
- depends = python
- depends = python-mbed-os-tools
- conflicts = python-mbed-greentea
-
diff --git a/PKGBUILD b/PKGBUILD
index 25dc754503c..06214588ec4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,6 @@ pkgname=(
'python-mbed-ls'
'python-mbed-host-tests'
'python-mbed-greentea'
-
- 'python2-mbed-os-tools'
- 'python2-mbed-ls'
- 'python2-mbed-host-tests'
- 'python2-mbed-greentea'
)
pkgver=0.0.15
pkgrel=1
@@ -18,7 +13,7 @@ pkgdesc="The tools to test and work with Mbed OS"
arch=('any')
url="https://os.mbed.com/"
license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/ARMmbed/mbed-os-tools/archive/v${pkgver}.tar.gz")
sha256sums=('60e77755e43d9dc0612ecbbb02ff3321dd79993a664a22c3ad2405f6de61c7e2')
@@ -54,31 +49,6 @@ package_python-mbed-os-tools() {
python setup.py clean --all
}
-package_python2-mbed-os-tools() {
- depends=(
- 'python2'
- 'python2-pyserial'
- 'python2-requests'
- 'python2-intelhex'
- 'python2-future'
- 'python2-prettytable'
- 'python2-fasteners'
- 'python2-appdirs'
- 'python2-junit-xml'
- 'python2-lockfile'
- 'python2-six'
- 'python2-colorama'
- 'python2-beautifulsoup4'
- )
-
- cd "mbed-os-tools-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- _remove_test
- python2 setup.py clean --all
-}
-
-### mbed-ls #################################################################
-
package_python-mbed-ls() {
conflicts=('python2-mbed-ls')
depends=(
@@ -93,22 +63,6 @@ package_python-mbed-ls() {
python setup.py clean --all
}
-package_python2-mbed-ls() {
- conflicts=('python-mbed-ls')
- depends=(
- 'python'
- 'python-prettytable'
- 'python-mbed-os-tools'
- )
-
- cd "mbed-os-tools-${pkgver}/packages/mbed-ls"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- _remove_test
- python2 setup.py clean --all
-}
-
-### mbed-host-tests #########################################################
-
package_python-mbed-host-tests() {
conflicts=('python2-mbed-host-tests')
depends=(
@@ -122,21 +76,6 @@ package_python-mbed-host-tests() {
python setup.py clean --all
}
-package_python2-mbed-host-tests() {
- conflicts=('python-mbed-host-tests')
- depends=(
- 'python'
- 'python-mbed-os-tools'
- )
-
- cd "mbed-os-tools-${pkgver}/packages/mbed-host-tests"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- _remove_test
- python2 setup.py clean --all
-}
-
-### mbed-greentea ###########################################################
-
package_python-mbed-greentea() {
conflicts=('python2-mbed-greentea')
depends=(
@@ -150,17 +89,4 @@ package_python-mbed-greentea() {
python setup.py clean --all
}
-package_python2-mbed-greentea() {
- conflicts=('python-mbed-greentea')
- depends=(
- 'python'
- 'python-mbed-os-tools'
- )
-
- cd "mbed-os-tools-${pkgver}/packages/mbed-greentea"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- _remove_test
- python2 setup.py clean --all
-}
-
# vim:set ts=2 sw=2 et: