From b4967cc20689b544fbde8ef15702c8e752dceddb Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Mon, 24 May 2021 11:55:12 -0600 Subject: [PATCH 1/3] Initial commit for RSASecureID support Initial commit to add rsasecure_login to conda-forge. Note: This package requires a milestone https://github.com/conda/conda/pull/10667 This is a work in progress. Aside from the obvious milestone requirement, I am not sure I like the command name `rsasecure_login`. --- recipes/rsasecure_login/meta.yaml | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/rsasecure_login/meta.yaml diff --git a/recipes/rsasecure_login/meta.yaml b/recipes/rsasecure_login/meta.yaml new file mode 100644 index 0000000000000..ffc03cd493545 --- /dev/null +++ b/recipes/rsasecure_login/meta.yaml @@ -0,0 +1,47 @@ +{% set name = "rsasecure_login" %} +{% set version = "1.0" %} +{% set sha256 = "48a1e4011ef624481644560546c8ccdb8d210b44386b3a8824ced6404dece652" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: https://github.com/milljm/{{ name }}/archive/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . --no-deps -vv --upgrade-strategy only-if-needed --use-feature=in-tree-build + entry_points: + - rsasecure_login = rsasecure_login.__main__:main + +requirements: + host: + - python >=3.6 + - requests + - conda + - pip + run: + - python >=3.6 + - requests + - conda + +test: + imports: + - rsasecure_login + commands: + - rsasecure_login --help + +about: + home: https://github.com/milljm/rsasecure_login + license: BSD + license_file: LICENSE.txt + summary: Install Conda packages protected by an RSASecureID location + doc_url: https://github.com/milljm/rsasecure_login + dev_url: https://github.com/milljm/rsasecure_login + +extra: + recipe-maintainers: + - milljm From f8391a89fd2e734519c18767d9926a7de29835ba Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Mon, 24 May 2021 12:15:57 -0600 Subject: [PATCH 2/3] Adding SPDX identifier Satisfy pylint. --- recipes/rsasecure_login/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/rsasecure_login/meta.yaml b/recipes/rsasecure_login/meta.yaml index ffc03cd493545..cc7053672375a 100644 --- a/recipes/rsasecure_login/meta.yaml +++ b/recipes/rsasecure_login/meta.yaml @@ -36,7 +36,7 @@ test: about: home: https://github.com/milljm/rsasecure_login - license: BSD + license: BSD-3-Clause OR MIT license_file: LICENSE.txt summary: Install Conda packages protected by an RSASecureID location doc_url: https://github.com/milljm/rsasecure_login From e17cc30a92f1e069641ab29fc3bf4a62abf16486 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Mon, 24 May 2021 12:25:36 -0600 Subject: [PATCH 3/3] Adding LICENSE.txt file. Fix summary. Add LICENSE.txt. Copied the one already supplied by staged-recipes, as BSD or MIT is fine. Fix the summary description. The product in question which this package supplies support for, is RSASecurID. --- recipes/rsasecure_login/LICENSE.txt | 27 +++++++++++++++++++++++++++ recipes/rsasecure_login/meta.yaml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 recipes/rsasecure_login/LICENSE.txt diff --git a/recipes/rsasecure_login/LICENSE.txt b/recipes/rsasecure_login/LICENSE.txt new file mode 100644 index 0000000000000..05fd93ee122e1 --- /dev/null +++ b/recipes/rsasecure_login/LICENSE.txt @@ -0,0 +1,27 @@ +Copyright (c) 2015-2021, conda-forge +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of staged-recipes nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/recipes/rsasecure_login/meta.yaml b/recipes/rsasecure_login/meta.yaml index cc7053672375a..678cdd4149ec9 100644 --- a/recipes/rsasecure_login/meta.yaml +++ b/recipes/rsasecure_login/meta.yaml @@ -38,7 +38,7 @@ about: home: https://github.com/milljm/rsasecure_login license: BSD-3-Clause OR MIT license_file: LICENSE.txt - summary: Install Conda packages protected by an RSASecureID location + summary: Install Conda packages protected by an RSASecurID location doc_url: https://github.com/milljm/rsasecure_login dev_url: https://github.com/milljm/rsasecure_login