* [PR PATCH] capstone-python: remove package
@ 2022-01-16 16:35 paper42
2022-01-25 23:33 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2022-01-16 16:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages capstone-python-remove
https://github.com/void-linux/void-packages/pull/35084
capstone-python: remove package
* capstone-python3: add missing python3 dependency
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/35084.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-capstone-python-remove-35084.patch --]
[-- Type: text/x-diff, Size: 2499 bytes --]
From c4e9b10b54c37962799cb883a4461e5213dc54ea Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 10 Jan 2022 19:15:47 +0100
Subject: [PATCH] capstone-python: remove package
* capstone-python3: add missing python3 dependency
---
srcpkgs/capstone-python | 1 -
srcpkgs/capstone/template | 16 +++-------------
srcpkgs/removed-packages/template | 1 +
3 files changed, 4 insertions(+), 14 deletions(-)
delete mode 120000 srcpkgs/capstone-python
diff --git a/srcpkgs/capstone-python b/srcpkgs/capstone-python
deleted file mode 120000
index d9b9ebd6157f..000000000000
--- a/srcpkgs/capstone-python
+++ /dev/null
@@ -1 +0,0 @@
-capstone
\ No newline at end of file
diff --git a/srcpkgs/capstone/template b/srcpkgs/capstone/template
index 255b813f79f0..a1a88c198f18 100644
--- a/srcpkgs/capstone/template
+++ b/srcpkgs/capstone/template
@@ -1,10 +1,10 @@
# Template file for 'capstone'
pkgname=capstone
version=4.0.2
-revision=3
+revision=4
build_style=gnu-makefile
make_use_env=1
-hostmakedepends="python-setuptools python3-setuptools"
+hostmakedepends="python3-setuptools"
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
@@ -14,7 +14,6 @@ checksum=7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
- make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install
make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install3
vlicense LICENSE.TXT LICENSE
}
@@ -30,18 +29,9 @@ capstone-devel_package() {
}
}
-capstone-python_package() {
- short_desc+=" - Python2 bindings"
- depends="${sourcepkg}>=${version}_${revision}"
- pkg_install() {
- vmove usr/lib/python2*
- vlicense bindings/python/LICENSE.TXT
- }
-}
-
capstone-python3_package() {
short_desc+=" - Python3 bindings"
- depends="${sourcepkg}>=${version}_${revision}"
+ depends="${sourcepkg}>=${version}_${revision} python3"
pkg_install() {
vmove usr/lib/python3*
vlicense bindings/python/LICENSE.TXT
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index c14aeb0167f7..39c9dc05730b 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -29,6 +29,7 @@ replaces="
bzrtools<=2.6.0_4
caja-gksu<=1.20.2_2
california<=0.4.0_4
+ capstone-python<=4.0.2_3
captain-ballard<=1.0.0_2
clamz<=0.5_4
couchdb<=1.7.1_2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-25 23:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 16:35 [PR PATCH] capstone-python: remove package paper42
2022-01-25 23:33 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).