obs-service-tar_scm/PKGBUILD
Dirk Mueller 5b839b2541 Accepting request 1139481 from home:dirkmueller:AL:TW:Fixups
- add support for AL2023

- Require external argparse for RHEL6
- added Requires: python2 for Fedora >= 25
  *
- Fixed error with cache
- Replaced --exclude=.$MYSCM with --exclude-vcs tar option
  of the repo. Thus 'git fetch $URL +$REV:$REV" is run initially.
  However, the 'git checkout $REV' then fails because it's missing
- add support for bzr

OBS-URL: https://build.opensuse.org/request/show/1139481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=335
2024-01-22 07:55:57 +00:00

25 lines
769 B
Bash

pkgname=obs-service-tar_scm
pkgver=0.10.41
pkgrel=0
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
arch=('any')
url="https://github.com/openSUSE/obs-service-tar_scm"
license=('GPL3')
groups=('base-devel')
makedepends=('python' 'python-yaml' 'python-dateutil' 'python-lxml' 'python-mock' 'bzr' 'git' 'mercurial' 'subversion' )
depends=('python' 'python-yaml' 'python-dateutil' 'python-argparse' 'cpio' 'git' 'bzr' 'mercurial' 'subversion' )
source=("obs-service-tar_scm-${pkgver}.tar.gz")
noextract=("obs-service-tar_scm-${pkgver}.tar.gz")
provides=('obs-service-tar')
sha256sums=('SKIP')
prepare() {
tar -axf "obs-service-tar_scm-${pkgver}.tar.gz"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
}