diff options
author | Camden Cheek | 2017-02-06 15:52:08 -0500 |
---|---|---|
committer | Camden Cheek | 2017-02-06 15:52:08 -0500 |
commit | ffba158e10180c11f1976bb0508ab422f92e5043 (patch) | |
tree | 4d1781b2a962c700a6eb3695e6dc19646357fb22 /PKGBUILD | |
parent | 5b65fbd231278d80ae819c6075f56c7476bbb221 (diff) | |
download | aur-ffba158e10180c11f1976bb0508ab422f92e5043.tar.gz |
Switched to python3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,8 +6,8 @@ pkgdesc="Python ADB + Fastboot implementation" arch=('any') url="https://github.com/google/python-adb.git" license=('apachev2') -depends=('libusb>=1.0.16' 'python2-libusb1>=1.2.0' 'python2-m2crypto>=0.24') -makedepends=('git' 'python2>=2.7') +depends=('libusb>=1.0.16' 'python-libusb1>=1.2.0' 'python-m2crypto>=0.24') +makedepends=('git' 'python>=3.6') provides=() conflicts=() replaces=() @@ -24,12 +24,12 @@ pkgver() { build() { cd "${srcdir}/python-adb" - python2 setup.py build + python3 setup.py build } package() { cd "${srcdir}/python-adb" - python2 setup.py install --root="$pkgdir" --optimize=1 || return 1 + python3 setup.py install --root="$pkgdir" --optimize=1 || return 1 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } |