Package Details: python-binstruct 1.0.1-1

Git Clone URL: https://aur.archlinux.org/python-binstruct.git (read-only)
Package Base: python-binstruct
Description: The binstruct library allows you to access binary data using a predefined structure.
Upstream URL: https://github.com/Jokymon/binstruct
Licenses: GPL3
Submitter: Nefelim4ag
Maintainer: Nefelim4ag (chron)
Last Packager: Nefelim4ag
Votes: 2
Popularity: 0.000001
First Submitted: 2016-12-25 19:25
Last Updated: 2017-02-21 13:01

Latest Comments

Nefelim4ag commented on 2017-02-21 13:02

@chron, at now package use your PKGBUILD

chron commented on 2017-02-21 12:08

- and i make this package only for python-evic-git
And I truly do appreciate evic, thanks for maintaining it!

Since I don't use pip it just seems a little dirty to me, especially since its basicly using a package manager to install a package, which you will turn into a new package, which you're planning to install with another package manager.

Sure... it works, but you're bypassing makepkg's checksum function and tend to run into problems with the package versions.
Doing it like every other Python package in Arch would only be like 4 lines longer.

Anyway, I attached a slightly changed version of your PKGBUILD to my last comment, so if you're interested in making a few changes you can just copy&paste it.

Nefelim4ag commented on 2017-02-18 09:38

@chron,
- pkgver says 1.0.0 but pip install 1.0.1
Fixed
- line 17 references python3.5 while it should be python3.6
Fixed
- why is this package using pip when there is an official release and it builds just fine?
Becase pip are easy to use and i make this package only for python-evic-git

chron commented on 2017-02-17 16:10

- pkgver says 1.0.0 but pip install 1.0.1
- line 17 references python3.5 while it should be python3.6
- why is this package using pip when there is an official release and it builds just fine?



pkgname=python-binstruct
_basename=binstruct
pkgver=1.0.1
pkgrel=1
pkgdesc="The binstruct library allows you to access binary data using a predefined structure."
arch=('any')
url="https://github.com/Jokymon/binstruct"
license=('GPL3')
depends=()
makedepends=()
source=(https://github.com/Jokymon/binstruct/archive/v${pkgver}.tar.gz)
sha256sums=('b6978076b57f28f221a3369e74e291ff0ade5dc58f63e49973e220138d4e5b48')

package() {
cd "$srcdir/${_basename}-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
install -D -m 0644 $srcdir/${_basename}-${pkgver}/binstruct.py $pkgdir/usr/lib/python3.6/site-packages/binstruct.py
python -O -m compileall "${pkgdir}/usr/lib/python3.6/site-packages/binstruct.py"
}

xpander commented on 2017-01-12 19:22

python-pip should be dependecy, otherwise it doesnt build