obs-service-set_version/PKGBUILD
Frank Schreiner a257f84fe7 - Update to version 0.5.11:
* fix code to pass flake8 tests for python3
  * fix zipfile crash also for python2.7
  * avoid error with latest flake8 about unused variable
  * allow running tests with python3
  * second place where zip file handling can crash
  * avoid crashes due to false is_zipfile() response
  * Add python-flake8 to test suite package list
  * Fix indentation of condition
  * Fix basename to match documentation (#54)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=92
2018-11-16 18:10:34 +00:00

21 lines
602 B
Bash

pkgname=obs-service-set_version
pkgver=0.5.11
pkgrel=0
pkgdesc="An OBS source service: Update spec file version"
arch=('i686' 'x86_64')
url="https://www.github.com/openSUSE/obs-service-set_version"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
depends=('python')
source=(obs-service-set_version-${pkgver}.tar.gz)
md5sums=('SKIP')
package() {
msg "Installing build ..."
cd "${srcdir}"/obs-service-set_version-${pkgver}
mkdir -p ${pkgdir}/usr/lib/obs/service
install -m 0755 set_version ${pkgdir}/usr/lib/obs/service
install -m 0644 set_version.service ${pkgdir}/usr/lib/obs/service
}