Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] MoinMoin: remove package
@ 2022-02-02 23:06 paper42
  2022-02-04 21:46 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 3+ messages in thread
From: paper42 @ 2022-02-02 23:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages moinmoin
https://github.com/void-linux/void-packages/pull/35364

MoinMoin: remove package
* python2

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### 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/35364.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-moinmoin-35364.patch --]
[-- Type: text/x-diff, Size: 1799 bytes --]

From 092d7f1337cc1613680bee34a5000904010f0bec Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 3 Feb 2022 00:01:11 +0100
Subject: [PATCH] MoinMoin: remove package

* python2
---
 srcpkgs/MoinMoin/template         | 15 ---------------
 srcpkgs/MoinMoin/update           |  2 --
 srcpkgs/removed-packages/template |  1 +
 3 files changed, 1 insertion(+), 17 deletions(-)
 delete mode 100644 srcpkgs/MoinMoin/template
 delete mode 100644 srcpkgs/MoinMoin/update

diff --git a/srcpkgs/MoinMoin/template b/srcpkgs/MoinMoin/template
deleted file mode 100644
index f9a5865c2635..000000000000
--- a/srcpkgs/MoinMoin/template
+++ /dev/null
@@ -1,15 +0,0 @@
-# Template file for 'MoinMoin'
-pkgname=MoinMoin
-version=1.9.11
-revision=1
-wrksrc=moin-${version}
-build_style=python2-module
-hostmakedepends="python"
-makedepends="python"
-depends="python"
-short_desc="MoinMoin, a Python clone of WikiWiki"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
-homepage="https://moinmo.in"
-distfiles="https://static.moinmo.in/files/moin-${version}.tar.gz"
-checksum=02be31d55f39d4fe0c6253df8b49e01b76d095634cbd1b56d185f66e1e0c3cf5
diff --git a/srcpkgs/MoinMoin/update b/srcpkgs/MoinMoin/update
deleted file mode 100644
index cf0d1feb57f3..000000000000
--- a/srcpkgs/MoinMoin/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${homepage}/MoinMoinDownload"
-pkgname=moin
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 551d4d6db41a..8f885826d0d1 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -10,6 +10,7 @@ homepage="https://voidlinux.org"
 
 replaces="
  ImageMagick6<=6.9.12.12_2
+ MoinMoin<=1.9.11_1
  Platinum9-theme<=0.0.0.20170720_3
  XorCurses<=0.2.2_1
  acme-client<=0.1.16_5

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PR PATCH] MoinMoin: remove package
@ 2022-02-02 23:18 paper42
  0 siblings, 0 replies; 3+ messages in thread
From: paper42 @ 2022-02-02 23:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages unicorn-python
https://github.com/void-linux/void-packages/pull/35365

MoinMoin: remove package
@Piraty 

#### Testing the changes
- I tested the changes in this PR: **briefly**

A patch file from https://github.com/void-linux/void-packages/pull/35365.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-unicorn-python-35365.patch --]
[-- Type: text/x-diff, Size: 2861 bytes --]

From b228e5e3874bb3664cb25bef929b13f2d28da1e8 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 3 Feb 2022 00:10:47 +0100
Subject: [PATCH] unicorn-python: remove package

* python2 bindings, unused
---
 srcpkgs/removed-packages/template |  2 ++
 srcpkgs/unicorn-python            |  1 -
 srcpkgs/unicorn/template          | 22 +++-------------------
 3 files changed, 5 insertions(+), 20 deletions(-)
 delete mode 120000 srcpkgs/unicorn-python

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 551d4d6db41a..549f9e360a95 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -280,6 +280,7 @@ replaces="
  python-pytest-relaxed<=1.1.2_2
  python-requests<=2.26.0_2
  python-sqlite<=2.8.3_1
+ python-unicorn>=0
  python-urllib3<=1.26.6_2
  python-xlib<0.29_1
  python3-Django<=3.0.7_2
@@ -340,6 +341,7 @@ replaces="
  traverso<=0.49.6_2
  ttyload-git<=20141117_4
  tuxc<=1.1_3
+ unicorn<=1.0.2_2
  urlmatch-git<=20141116_2
  uwsgi-python<=2.0.18_3
  v8<=3.24.35.33_4
diff --git a/srcpkgs/unicorn-python b/srcpkgs/unicorn-python
deleted file mode 120000
index 20c8576391e6..000000000000
--- a/srcpkgs/unicorn-python
+++ /dev/null
@@ -1 +0,0 @@
-unicorn
\ No newline at end of file
diff --git a/srcpkgs/unicorn/template b/srcpkgs/unicorn/template
index 2389b1ca9869..c0e7bf419b9e 100644
--- a/srcpkgs/unicorn/template
+++ b/srcpkgs/unicorn/template
@@ -2,7 +2,7 @@
 pkgname=unicorn
 version=1.0.2
 revision=2
-hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
+hostmakedepends="python3-devel python3-setuptools"
 short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
 maintainer="Piraty <piraty1@inbox.ru>"
 license="GPL-2.0-only"
@@ -19,18 +19,13 @@ do_build() {
 	make $makejobs
 	make $makejobs -C bindings
 	cd bindings/python
-	for pyver in $py2_ver $py3_ver; do
-		python${pyver} setup.py build --build-base=build-${pyver}
-	done
+	python3 setup.py build
 }
 
 do_install() {
 	make DESTDIR=${DESTDIR} install
 	cd bindings/python
-	for pyver in $py2_ver $py3_ver; do
-		python${pyver} setup.py build --build-base=build-${pyver} \
-			install --prefix=/usr --root=${DESTDIR}
-	done
+	python3 setup.py build install --prefix=/usr --root=${DESTDIR}
 }
 
 unicorn-devel_package() {
@@ -44,20 +39,9 @@ unicorn-devel_package() {
 	}
 }
 
-unicorn-python_package() {
-	replaces="python-unicorn>=0"
-	depends="${sourcepkg}-devel>=${version}_${revision} python-setuptools"
-	short_desc+=" - Python2 bindings"
-	pycompile_module="unicorn"
-	pkg_install() {
-		vmove ${py2_sitelib}
-	}
-}
-
 unicorn-python3_package() {
 	depends="${sourcepkg}-devel>=${version}_${revision} python3-setuptools"
 	short_desc+=" - Python3 bindings"
-	pycompile_module="unicorn"
 	pkg_install() {
 		vmove ${py3_sitelib}
 	}

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-04 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 23:06 [PR PATCH] MoinMoin: remove package paper42
2022-02-04 21:46 ` [PR PATCH] [Merged]: " paper42
2022-02-02 23:18 [PR PATCH] " 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).