aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-gi/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-22 11:41:36 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-22 11:41:48 +0000
commitddbab0e9f9139b8383da25e826dd400b1faa46b6 (patch)
tree7b229b65b60b81a1fda1236425f979016ec53985 /unmaintained/py-gi/APKBUILD
parent27a5530fe22427276686a9067139e7b407f592ae (diff)
downloadaports-ddbab0e9f9139b8383da25e826dd400b1faa46b6.tar.bz2
aports-ddbab0e9f9139b8383da25e826dd400b1faa46b6.tar.xz
unmaintained/py-gi: moved from testing. It conflicts with py-gobject3
There are no packages with py-gi dependency, so it's safe to move it
Diffstat (limited to 'unmaintained/py-gi/APKBUILD')
-rw-r--r--unmaintained/py-gi/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/py-gi/APKBUILD b/unmaintained/py-gi/APKBUILD
new file mode 100644
index 0000000000..499eced804
--- /dev/null
+++ b/unmaintained/py-gi/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py-gi
+_pkgname=gi
+pkgver=1.2
+pkgrel=0
+pkgdesc="Command line to private gist. Example: gi.py myFile"
+url="http://github.com/inconditus/gi"
+arch="noarch"
+license="MIT"
+depends="python2"
+depends_dev=""
+makedepends="$depends_dev python2-dev py-setuptools"
+install=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python2 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="63bdf817281813f049064133ed584a6e gi-1.2.tar.gz"
+sha256sums="13e5a3c227a8bb6fdaf22ca5b70aa81acc936955cb5d3ec10c1c8bf34b79aaea gi-1.2.tar.gz"
+sha512sums="9651f05423bfd75f1bab1fa03193fab351fbc3b675e49f233613f0e8d6d615bb4d48c31884b633b71c63eb438e669104d5baf89d509279bfaa851d0ebd3e7005 gi-1.2.tar.gz"