Shortened URL:

  1. pkgname=python2-dmidecode-git
  2. pkgver=3.10.10.37.gb82aff2
  3. pkgrel=1
  4. pkgdesc="The python implementation of what dmidecode does. Supports extracting \
  5.          the data as both Python dictionaries and XML data (via libxml2)."
  6. arch=('i686' 'x86_64')
  7. url="https://fedorahosted.org/python-dmidecode/"
  8. license=('GPL')
  9. depends=('python2' 'python2-lxml')
  10. makedepends=('git')
  11. source=(git://git.fedorahosted.org/python-dmidecode.git)
  12. md5sums=(SKIP)
  13.  
  14. pkgver() {
  15.         cd "$srcdir/python-dmidecode"
  16.         git describe --always | sed 's\-\.\g' | sed 's\^v\\'
  17. }
  18.  
  19. build() {
  20.         cd "$srcdir/python-dmidecode"
  21.         python2 src/setup.py build
  22. }
  23.  
  24. package() {
  25.         cd "$srcdir/python-dmidecode"
  26.         python2 src/setup.py install --root="${pkgdir}" --optimize=1
  27. }

Posted by garyvdm at 04 Jul 2013, 12:45:03 UTC
Language: text


Powered by Sticky Notes. Using Fedora skin.
"Sticky Notes" (the web application) is released under the BSD license, Copyright © 2012 Sayak Banerjee.

"Fedora" and the Fedora logo are trademarks of Red Hat, Inc. The Fedora project is maintained and driven by the community. This is a community maintained site. Red Hat is not responsible for content.

Sponsors | Legal | Trademark Guidelines