diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-25 14:55:30 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-25 15:01:14 +0000 |
commit | f1c1d0dcabc0cb9afd1a7d99333fadadd51dca0e (patch) | |
tree | 43c5357f2c9527569fb025acc50f02bc0b33de47 /testing/py-gi/APKBUILD | |
parent | a18b59d29a69716785f9506ba404c43e2739e10b (diff) | |
download | aports-f1c1d0dcabc0cb9afd1a7d99333fadadd51dca0e.tar.bz2 aports-f1c1d0dcabc0cb9afd1a7d99333fadadd51dca0e.tar.xz |
testing/py-gi: new aport
Diffstat (limited to 'testing/py-gi/APKBUILD')
-rw-r--r-- | testing/py-gi/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py-gi/APKBUILD b/testing/py-gi/APKBUILD new file mode 100644 index 0000000000..c59c239dda --- /dev/null +++ b/testing/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="python" +depends_dev="" +makedepends="$depends_dev python-dev py-setuptools" +install="" +subpackages="" +source="https://pypi.python.org/packages/0f/6a/6baccd9dba213be347964fcf27a7946005e9fbad2192876b17edb0c1b842/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python setup.py build || return 1 +} + +package() { + cd "$builddir" + python 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" |