SHARE
TWEET

Untitled

a guest May 27th, 2012 48 Never
  1. # Contributor: Peter Simons <simons@cryp.to>
  2. # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
  3. # Contributor: kytv <killyourtv@i2pmail.org>
  4. pkgname=pycryptopp
  5. pkgver=0.6.0.1206569328141510525648634803928199668821045408958
  6. pkgrel=1
  7. pkgdesc="Python wrappers for the Crypto++ library"
  8. arch=('i686' 'x86_64')
  9. url='http://allmydata.org/trac/pycryptopp'
  10. license=('GPL')
  11. groups=()
  12. depends=('python2' 'crypto++')
  13. provides=()
  14. conflicts=()
  15. replaces=()
  16. backup=()
  17. options=()
  18. install=
  19. source=( http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz )
  20. noextract=()
  21. md5sums=('ce38fbe03705d27da408c78b56eb1947')
  22.  
  23. build() {
  24.   cd "$srcdir/$pkgname-$pkgver" || return 1
  25.   export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1
  26.   python2 setup.py build || return 1
  27.   python2 setup.py test || return 1
  28. }
  29.  
  30. package() {
  31.   cd "$srcdir/$pkgname-$pkgver" || return 1
  32.   python2 setup.py install --root="$pkgdir" || return 1
  33. }
RAW Paste Data
Top