Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] capstone-python: remove package
Date: Sun, 16 Jan 2022 17:35:27 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35084@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2022-01-16 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16 16:35 paper42 [this message]
2022-01-25 23:33 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35084@inbox.vuxu.org \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).