diff options
author | Tim Savannah | 2017-06-04 05:10:32 -0400 |
---|---|---|
committer | Tim Savannah | 2017-06-04 05:10:32 -0400 |
commit | b2c7b85fbdac1289d40710e5221583251c5b9fb6 (patch) | |
tree | 923f63dfb7bd655d62e267eff0ba92531639de3f | |
download | aur-b2c7b85fbdac1289d40710e5221583251c5b9fb6.tar.gz |
Add cmp_version 2.1.1 package for python2
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..446b590d782b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-cmp_version + pkgdesc = A script and python module to compare version numbers. Use this to compare the version strings of packages, modules, really anything. + pkgver = 2.1.1 + pkgrel = 1 + url = http://github.com/kata198/cmp_version + arch = any + license = LGPLv3 + makedepends = python2-setuptools + makedepends = python2 + depends = python2-setuptools + depends = python2 + source = https://github.com/kata198/cmp_version/archive/2.1.1.tar.gz + sha512sums = 6152b7f63e2e819399a8714c11fb33461738152e44e152db964709ac10dba90ffef27395abad9957bcf25dc351760246cfe0cc948d340955fe89304abebfdd7d + +pkgname = python2-cmp_version + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9372f7aeede3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Tim Savannah <kata198@gmail.com> + +pkgname='python2-cmp_version' +pkgver=2.1.1 +pkgrel=1 +pkgdesc="A script and python module to compare version numbers. Use this to compare the version strings of packages, modules, really anything." +arch=('any') +license=('LGPLv3') +url="http://github.com/kata198/cmp_version" +makedepends=('python2-setuptools' 'python2') +depends=('python2-setuptools' 'python2') + +source=("https://github.com/kata198/cmp_version/archive/${pkgver}.tar.gz") +sha512sums=('6152b7f63e2e819399a8714c11fb33461738152e44e152db964709ac10dba90ffef27395abad9957bcf25dc351760246cfe0cc948d340955fe89304abebfdd7d') + +build() { + cd "$srcdir"/cmp_version-$pkgver + python2 setup.py build + +} + +package() { + cd cmp_version-$pkgver + + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + + + + |