summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072020-03-01 19:33:03 +0100
committersL1pKn072020-03-01 19:33:03 +0100
commitf07bc8c8ca6ba24e551533680b7ae92fe9ce1408 (patch)
treebdc7623f54ae1ba6039020ae0b26a1879a87b030
parent0143f49f798f4f6df39c3496ed3c898e1d07213a (diff)
downloadaur-f07bc8c8ca6ba24e551533680b7ae92fe9ce1408.tar.gz
bump, also drops python2 support
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD39
2 files changed, 2 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eedeb32f7e7..8f755284ca2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libmega-git
pkgdesc = Sync your files to your Mega account. (GIT Version)
- pkgver = v3.6.2a.778.g03224b659
+ pkgver = v3.6.6a.314.gd808462b0
pkgrel = 1
url = https://mega.co.nz/#sync
arch = x86_64
@@ -14,8 +14,6 @@ pkgbase = libmega-git
makedepends = qt5-tools
makedepends = cython
makedepends = python
- makedepends = cython2
- makedepends = python2
makedepends = swig
makedepends = fuse2
makedepends = libraw
@@ -66,13 +64,6 @@ pkgname = python-megasync-git
provides = python-megasync
conflicts = python-megasync
-pkgname = python2-megasync-git
- pkgdesc = Python2 Bindings for MEGASync. (GIT Version)
- depends = libmega-git
- depends = python2
- provides = python2-megasync
- conflicts = python2-megasync
-
pkgname = fuse-megasync-git
pkgdesc = MEGASync client based on FUSE (GIT Version)
depends = libmega-git
diff --git a/PKGBUILD b/PKGBUILD
index f3c9cec67d9..ec718db61d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,10 +5,9 @@ pkgname=('libmega-git'
'megasync-daemon-git'
'megasync-cli-git'
'python-megasync-git'
- 'python2-megasync-git'
'fuse-megasync-git'
)
-pkgver=v3.6.2a.778.g03224b659
+pkgver=v3.6.6a.314.gd808462b0
pkgrel=1
pkgdesc="Sync your files to your Mega account. (GIT Version)"
arch=('x86_64')
@@ -27,8 +26,6 @@ makedepends=('qt5-svg'
'qt5-tools'
'cython'
'python'
- 'cython2'
- 'python2'
'swig'
'fuse2'
'libraw'
@@ -50,7 +47,6 @@ pkgver() {
prepare() {
(git clone "${srcdir}/sdk" build; cd build; ./autogen.sh)
(git clone "${srcdir}/sdk" build-python; cd build-python; ./autogen.sh)
- (git clone "${srcdir}/sdk" build-python2; cd build-python2; ./autogen.sh)
}
build() {
@@ -78,20 +74,6 @@ build() {
cd bindings/python
python setup.py build
- msg2 "Build Python2 bindings"
- cd "${srcdir}/build-python2"
- PYTHON=python2 \
- PYTHON_VERSION="$(python2 -c "import platform; print('.'.join(platform.python_version_tuple()[:2]))")" \
- ./configure \
- --prefix=/usr \
- --without-freeimage \
- --disable-examples \
- --enable-python
-
- make
-
- cd bindings/python
- python2 setup.py build
}
package_libmega-git() {
@@ -183,22 +165,3 @@ package_python-megasync-git() {
install -Dm644 "${srcdir}/sdk/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-
-package_python2-megasync-git() {
- pkgdesc="Python2 Bindings for MEGASync. (GIT Version)"
- conflicts=('python2-megasync')
- provides=('python2-megasync')
- depends=('libmega-git'
- 'python2')
-
-# make -C build-python2 DESTDIR="${pkgdir}" install-pkgpythonPYTHON install-pkgpyexecLTLIBRARIES install-nodist_pkgpythonPYTHON
-
- cd build-python/bindings/python
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
- _sites_packages="$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")"
- rm -fr ${pkgdir}${_sites_packages}/mega/libmega.so
- chrpath -d ${pkgdir}${_sites_packages}/mega/_mega.so
-
- install -Dm644 "${srcdir}/sdk/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}