yochananmarqos

python-pycryptodomex

Sep 14th, 2020
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-pycryptodomex
  2. _name=${pkgname#python-}
  3. pkgver=3.9.8
  4. pkgrel=1
  5. pkgdesc="A self-contained Python package of low-level cryptographic primitives."
  6. arch=('x86_64')
  7. url="https://www.pycryptodome.org"
  8. license=('GPL')
  9. depends=('python' 'gmp')
  10. makedepends=('python-setuptools')
  11. source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
  12. sha256sums=('48cc2cfc251f04a6142badeb666d1ff49ca6fdfc303fd72579f62b768aaa52b9')
  13.  
  14. build() {
  15.     cd "$_name-$pkgver"
  16.     python setup.py build
  17. }
  18.  
  19. package() {
  20.     cd "$_name-$pkgver"
  21.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  22. }
RAW Paste Data