Simple Apache/HTTPD log parser for administrative analysis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
582 B

4 years ago
  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=python-apachelogs
  3. _pkgname=apachelogs
  4. pkgver=v0.5.0.r4.g7ee86af
  5. pkgrel=1
  6. pkgdesc='Python Apache logs parser'
  7. arch=('any')
  8. url='https://github.com/jwodder/apachelogs'
  9. license=('MIT')
  10. depends=('python' 'python-pydicti' 'python-attrs')
  11. makedepends=('git' 'python')
  12. source=("$pkgname::git+https://github.com/jwodder/${_pkgname}.git")
  13. sha256sums=('SKIP')
  14. pkgver() {
  15. cd $pkgname
  16. git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  17. }
  18. package() {
  19. cd $pkgname
  20. python setup.py install --root="$pkgdir/"
  21. }