Package Details: python-pyenet-git 24-2

Git Clone URL: https://aur.archlinux.org/python-pyenet-git.git (read-only, click to copy)
Package Base: python-pyenet-git
Description: pyenet is a python wrapper for the ENet library
Upstream URL: https://github.com/aresch/pyenet
Licenses: BSD, MIT
Conflicts: pyenet
Provides: pyenet
Submitter: normaldotcom
Maintainer: normaldotcom
Last Packager: normaldotcom
Votes: 0
Popularity: 0.000000
First Submitted: 2015-10-27 19:35 (UTC)
Last Updated: 2017-05-31 20:11 (UTC)

Latest Comments

throstur commented on 2025-05-19 14:05 (UTC) (edited on 2025-05-19 14:06 (UTC) by throstur)

Since the package is out of date and doesn't build, the PKGBUILD file needs to be updated. As of today 19-05-25, the following PKGBUILD serves to build the current version. Don't forget to calculate the md5sums instead of skipping them as I do in the provided example if the PKGBUILD is updated.

# Maintainer: normaldotcom
pkgname=python-pyenet-git
pkgver=r174.175f0c5
pkgrel=1
pkgdesc="Python wrapper for the ENet networking library"
arch=('any')
url="https://github.com/aresch/pyenet"
license=('BSD' 'MIT')
depends=('python')
makedepends=('git' 'cython' 'python-setuptools')
source=("git+https://github.com/aresch/pyenet.git"
        "http://enet.bespin.org/download/enet-1.3.18.tar.gz")
md5sums=('SKIP'
         'SKIP')

pkgver() {
    cd "$srcdir/pyenet"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "$srcdir/pyenet"
    # Copy the ENet source to the expected directory
    rm -rf enet
    cp -r "$srcdir/enet-1.3.18" "$srcdir/pyenet/enet"
}

build() {
    cd "$srcdir/pyenet"
    python setup.py build
}

package() {
    cd "$srcdir/pyenet"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

LinuxDonald commented on 2017-04-22 13:28 (UTC)

enet 1.3.13 is out: http://enet.bespin.org/Downloads.html