summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-09-16 18:58:53 +0300
committerAdrian Perez de Castro2019-09-16 18:58:53 +0300
commitf4a8aa5a1836cdd079ee101eca7defe11c3d72ab (patch)
tree09cabd46dd133bade0659ec772b6c85995669aff
parent8d40c370a8610160adf4609ad4217593bd46edfa (diff)
downloadaur-gn-git.tar.gz
Switch to Python 3.x
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore10
-rw-r--r--PKGBUILD12
3 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b60e4d1f89c..dfbf3dd6713 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = gn-git
pkgdesc = Meta-build system which generates Ninja build files
- pkgver = r1612.61be3f2e
+ pkgver = r1642.546edf82
pkgrel = 1
url = https://gn.googlesource.com/gn
arch = x86_64
arch = i686
license = BSD
- makedepends = python2
+ makedepends = python
makedepends = ninja
makedepends = git
depends = gcc-libs
diff --git a/.gitignore b/.gitignore
index 1e8a8e8e3a3..1eff8f48df1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
-/gn/
-/pkg/
-/src/
-/*.log
-/*.tar
-/*.tar.*
+*
+!/PKGBUILD
+!/.SRCINFO
+!/gcc-support.patch
diff --git a/PKGBUILD b/PKGBUILD
index 15a943a543a..df833977826 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
#
pkgname=gn-git
pkgdesc='Meta-build system which generates Ninja build files'
-pkgver=r1612.61be3f2e
+pkgver=r1642.546edf82
pkgrel=1
license=('BSD')
arch=('x86_64' 'i686')
-conflicts=('gn-bin' 'gn')
-provides=('gn')
-depends=('gcc-libs')
-makedepends=('python2' 'ninja' 'git')
+conflicts=(gn-bin gn)
+provides=(gn)
+depends=(gcc-libs)
+makedepends=(python ninja git)
url='https://gn.googlesource.com/gn'
source=("gn::git+${url}" gcc-support.patch)
sha512sums=('SKIP'
@@ -32,7 +32,7 @@ build () {
CFLAGS="${CFLAGS} -pthread" \
CXXFLAGS="${CXXFLAGS} -pthread" \
LDFLAGS="${LDFLAGS} -pthread" \
- python2 build/gen.py --use-lto --no-strip
+ python build/gen.py --use-lto --no-strip
ninja -C out
}