python3-dkimpy: drop noarch, python 2 dummy

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 08:40:51 +07:00
parent c5d268c63d
commit bb19302183
3 changed files with 20 additions and 28 deletions

View file

@ -1,26 +1,28 @@
# Template file for 'hg-git' # Template file for 'hg-git'
pkgname=hg-git pkgname=hg-git
version=0.8.12 version=0.9.0
revision=1 revision=1
wrksrc="durin42-hg-git-c651bb6fcf33" build_style=python3-module
archs=noarch hostmakedepends="python3-setuptools"
build_style=python2-module depends="python3-dulwich mercurial"
hostmakedepends="python" checkdepends="$depends git unzip openssh"
makedepends="python python-dulwich"
depends="${makedepends}"
checkdepends="mercurial git"
pycompile_module="hggit"
short_desc="Mercurial plugin adding the ability to push and pull to/from Git" short_desc="Mercurial plugin adding the ability to push and pull to/from Git"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="https://bitbucket.org/durin42/hg-git" # https://www.mercurial-scm.org/wiki/HgGit
distfiles="https://bitbucket.org/durin42/hg-git/get/${version}.tar.bz2" homepage="https://foss.heptapod.net/mercurial/hg-git"
checksum=5ca4aac0b526e8fb6c31a3d67d09f6bdd4c1ad94075a3e25bd28307d6fd84158 distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz"
checksum=77acbd8c322847ec109046d931e0731a91fcf13e10cfe9c183812706ec867671
do_check() { do_check() {
# broken connecting to fake ssh server cd tests
rm tests/test-pull.t rm -f test-branch-bookmark-suffix.t
rm tests/test-push.t # Git 2.28 appends merge into master, Git 2.29 reverts that change
rm tests/test-git-clone.t rm -f test-merge.t test-octopus.t test-pull.t
make tests # test hg serve, bind to localhost instead *
rm -f test-http.t
# Differ in warning, which is new in Git 2.28
rm -f test-subrepos.t
python3 run-tests.py --with-hg=/usr/bin/hg
} }

View file

@ -1 +0,0 @@
python3-dkimpy

View file

@ -1,11 +1,9 @@
# Template file for 'python3-dkimpy' # Template file for 'python3-dkimpy'
pkgname=python3-dkimpy pkgname=python3-dkimpy
version=1.0.0 version=1.0.0
revision=2 revision=3
archs=noarch
wrksrc="dkimpy-${version}" wrksrc="dkimpy-${version}"
build_style=python3-module build_style=python3-module
pycompile_module="dkim"
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-dnspython python3-authres python3-pynacl python3-aiodns" depends="python3-dnspython python3-authres python3-pynacl python3-aiodns"
checkdepends="$depends python3-pytest" checkdepends="$depends python3-pytest"
@ -27,10 +25,3 @@ post_install() {
rm -f ${DESTDIR}/usr/lib/python3.?/site-packages/dkim/__main__.py rm -f ${DESTDIR}/usr/lib/python3.?/site-packages/dkim/__main__.py
vlicense LICENSE vlicense LICENSE
} }
python-dkimpy_package() {
build_style=meta
archs=noarch
depends="python3-dkimpy"
short_desc+=" - transitional dummy package"
}