mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
obnam package update.
This commit is contained in:
commit
e586a6b2c8
2 changed files with 56 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pkgbase = python2-tracing-git
|
||||
pkgdesc = The Python library tracing helps with logging debug messages.
|
||||
pkgver = 0.0.0
|
||||
pkgrel = 1
|
||||
url = http://liw.fi/tracing/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
makedepends = git
|
||||
depends = python2
|
||||
provides = python2-tracing
|
||||
conflicts = python2-tracing
|
||||
replaces = python2-tracing-bzr
|
||||
source = python2-tracing-git::git://git.liw.fi/python-tracing
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = python2-tracing-git
|
||||
|
||||
38
PKGBUILD
Normal file
38
PKGBUILD
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Aleksey Filippov <sarum9in@gmail.com>
|
||||
pkgname=python2-tracing-git
|
||||
pkgver=0.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="The Python library tracing helps with logging debug messages."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://liw.fi/tracing/"
|
||||
license=('GPL3')
|
||||
groups=()
|
||||
depends=('python2')
|
||||
makedepends=('git')
|
||||
provides=('python2-tracing')
|
||||
conflicts=('python2-tracing')
|
||||
replaces=('python2-tracing-bzr')
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
source=("$pkgname::git://git.liw.fi/python-tracing")
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname"
|
||||
find . -type f -exec sed -ri "s|^#!/usr/bin/python$|&2|g" '{}' '+'
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
Loading…
Add table
Reference in a new issue