Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python-MiniMock: set to meta for removal
Date: Wed, 01 Jan 2020 03:11:03 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17956@inbox.vuxu.org> (raw)

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

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

https://github.com/ndowens/void-packages minimock
https://github.com/void-linux/void-packages/pull/17956

python-MiniMock: set to meta for removal


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

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

From b25010b60a4650a7f821012aa2ebcbd2413ea345 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 19:55:42 -0600
Subject: [PATCH 1/2] python-MiniMock: set to meta for removal

---
 srcpkgs/python-MiniMock/template | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/python-MiniMock/template b/srcpkgs/python-MiniMock/template
index 8b8c4f5f1e6..0545f1b3c23 100644
--- a/srcpkgs/python-MiniMock/template
+++ b/srcpkgs/python-MiniMock/template
@@ -4,11 +4,8 @@ version=1.2.8
 revision=3
 archs=noarch
 wrksrc="${pkgname/python-//}-${version}"
-build_style=python-module
-pycompile_module="minimock.py"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-short_desc="The simplest possible mock library in Python2"
+build_style=meta
+short_desc="The simplest possible mock library in Python2(Removed package)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://pypi.org/project/MiniMock/"
@@ -18,14 +15,3 @@ checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
 post_install() {
 	vlicense docs/license.txt
 }
-
-python3-MiniMock_package() {
-	archs=noarch
-	depends="python3"
-	pycompile_module="minimock.py"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense docs/license.txt
-	}
-}

From 98381d0206e14d0f64c10c17ac86e497981b8f8f Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 19:56:09 -0600
Subject: [PATCH 2/2] python3-MiniMock: Set to Python3 only

---
 srcpkgs/python-MiniMock/template  |  2 +-
 srcpkgs/python3-MiniMock          |  1 -
 srcpkgs/python3-MiniMock/template | 19 +++++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)
 delete mode 120000 srcpkgs/python3-MiniMock
 create mode 100644 srcpkgs/python3-MiniMock/template

diff --git a/srcpkgs/python-MiniMock/template b/srcpkgs/python-MiniMock/template
index 0545f1b3c23..440f71be14b 100644
--- a/srcpkgs/python-MiniMock/template
+++ b/srcpkgs/python-MiniMock/template
@@ -5,7 +5,7 @@ revision=3
 archs=noarch
 wrksrc="${pkgname/python-//}-${version}"
 build_style=meta
-short_desc="The simplest possible mock library in Python2(Removed package)"
+short_desc="Simplest possible mock library in Python2(Removed package)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://pypi.org/project/MiniMock/"
diff --git a/srcpkgs/python3-MiniMock b/srcpkgs/python3-MiniMock
deleted file mode 120000
index 8bdbc383b7f..00000000000
--- a/srcpkgs/python3-MiniMock
+++ /dev/null
@@ -1 +0,0 @@
-python-MiniMock
\ No newline at end of file
diff --git a/srcpkgs/python3-MiniMock/template b/srcpkgs/python3-MiniMock/template
new file mode 100644
index 00000000000..d21d683f909
--- /dev/null
+++ b/srcpkgs/python3-MiniMock/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-MiniMock'
+pkgname=python3-MiniMock
+version=1.2.8
+revision=4
+archs=noarch
+wrksrc="MiniMock-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Simplest possible mock library in Python2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://pypi.org/project/MiniMock/"
+distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
+checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
+
+post_install() {
+	vlicense docs/license.txt
+}

             reply	other threads:[~2020-01-01  2:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  2:11 voidlinux-github [this message]
2020-01-18 15:44 ` [PR PATCH] [Closed]: " voidlinux-github

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-17956@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).