summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorepitron2016-10-01 04:52:19 -0400
committerepitron2016-10-01 04:52:19 -0400
commitbac9363851cfdb83598d60ca0b97fb845b049553 (patch)
treeb76665b596f0ce718a404ae638543e419fb9afc2
downloadaur-bac9363851cfdb83598d60ca0b97fb845b049553.tar.gz
First commit (v0.8.3)
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
-rw-r--r--versionless-deps.patch20
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..10f981b6dd5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gitless
+ pkgdesc = A scientifically proven easier-to-use git interface
+ pkgver = 0.8.3
+ pkgrel = 1
+ url = http://gitless.com/
+ arch = any
+ license = GPL
+ depends = python
+ depends = git
+ depends = python-sh
+ depends = python-clint
+ depends = python-pygit2
+ source = https://github.com/sdg-mit/gitless/archive/v0.8.3.tar.gz
+ source = versionless-deps.patch
+ sha256sums = df212d6a3d377f90c46d03fd4216ecbbeb40055b62c0fe73b9c3aa165ea8f0af
+ sha256sums = e91c08b027a183d0ccf46c46f26c8d5e846dcd1f96276067e46d509b3418fbf8
+
+pkgname = gitless
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..377b730cc3f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: epitron <chris@ill-logic.com>
+pkgname="gitless"
+pkgver=0.8.3
+pkgrel=1
+pkgdesc="A scientifically proven easier-to-use git interface"
+arch=("any")
+url="http://gitless.com/"
+license=("GPL")
+depends=("python" "git" "python-sh" "python-clint" "python-pygit2")
+source=(
+ "https://github.com/sdg-mit/gitless/archive/v$pkgver.tar.gz"
+ "versionless-deps.patch"
+)
+sha256sums=(
+ df212d6a3d377f90c46d03fd4216ecbbeb40055b62c0fe73b9c3aa165ea8f0af
+ e91c08b027a183d0ccf46c46f26c8d5e846dcd1f96276067e46d509b3418fbf8
+)
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 < ../../versionless-deps.patch
+ python setup.py install --root=${pkgdir} --optimize=1
+}
diff --git a/versionless-deps.patch b/versionless-deps.patch
new file mode 100644
index 00000000000..afbe95eafec
--- /dev/null
+++ b/versionless-deps.patch
@@ -0,0 +1,20 @@
+--- a/setup.py 2016-10-01 04:48:35.099482432 -0400
++++ b/setup.py 2016-10-01 04:48:25.082725137 -0400
+@@ -28,7 +28,7 @@
+ print('creating tar.gz file')
+ shutil.copy('README.md', rel)
+ shutil.copy('LICENSE.md', rel)
+-
++
+ with tarfile.open(rel + '.tar.gz', 'w:gz') as tar:
+ tar.add(rel)
+ print('success!! binary release at {0}'.format(rel + '.tar.gz'))
+@@ -36,7 +36,7 @@
+ sys.exit()
+
+
+-reqs = ['pygit2==0.23.0', 'sh==1.11', 'clint==0.3.6']
++reqs = ['pygit2', 'sh', 'clint']
+ if sys.version_info < (2, 7) or (
+ sys.version_info < (3, 3) and sys.version_info > (3, 0)):
+ reqs.append('argparse')