diff options
author | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
commit | f6fb57ea3fe139c7a92a2e66d3aeed936cd10e35 (patch) | |
tree | 66e64d06017d8a5c46cacced7e6ee7ce0b9cd3a4 | |
download | aur-f6fb57ea3fe139c7a92a2e66d3aeed936cd10e35.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9a47bd138aeb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python2-coloredlogs + pkgdesc = Colored stream handler for the logging module + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/xolox/python-coloredlogs + arch = any + license = MIT + makedepends = python2-setuptools + depends = python2 + depends = python2-humanfriendly + provides = ansi2html + provides = python2-coloredlogs + conflicts = ansi2html + options = !emptydirs + source = https://pypi.python.org/packages/source/c/coloredlogs/coloredlogs-1.0.1.tar.gz + md5sums = 0808f29e09eb26443ce833fdace0d543 + sha256sums = 11067ca91532ba4a316fa53b005152a08b3e015dcb1234d393cfc25af88ebc3e + +pkgname = python2-coloredlogs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..266951b9654d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=python2-coloredlogs +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Colored stream handler for the logging module" +arch=('any') +depends=('python2' 'python2-humanfriendly') +makedepends=('python2-setuptools') +url="https://github.com/xolox/python-coloredlogs" +license=('MIT') +options=(!emptydirs) +source=(https://pypi.python.org/packages/source/c/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz) +md5sums=('0808f29e09eb26443ce833fdace0d543') +sha256sums=('11067ca91532ba4a316fa53b005152a08b3e015dcb1234d393cfc25af88ebc3e') +provides=('ansi2html' 'python2-coloredlogs') +conflicts=('ansi2html') + +build() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Building...' + python2 setup.py build +} + +package() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Installing...' + python2 setup.py install --root="$pkgdir" --optimize=1 +} |