mirror of
https://github.com/ryanvolz/radioconda.git
synced 2025-08-01 13:02:41 -04:00
Merge branch 'next' into dev
This commit is contained in:
commit
0fd3d4401a
@ -1,6 +1,7 @@
|
|||||||
name: radioconda
|
name: radioconda
|
||||||
channels:
|
channels:
|
||||||
- conda-forge
|
- conda-forge
|
||||||
|
- ryanvolz # [win]
|
||||||
platforms:
|
platforms:
|
||||||
- linux-64
|
- linux-64
|
||||||
- linux-aarch64
|
- linux-aarch64
|
||||||
@ -28,7 +29,7 @@ dependencies:
|
|||||||
- python
|
- python
|
||||||
# restrict to python 3.8 on Windows for Windows 7 compatibility
|
# restrict to python 3.8 on Windows for Windows 7 compatibility
|
||||||
- python 3.8.* # [win]
|
- python 3.8.* # [win]
|
||||||
- miniforge_console_shortcut # [win]
|
- radioconda_console_shortcut # [win]
|
||||||
- rtl-sdr
|
- rtl-sdr
|
||||||
- scipy
|
- scipy
|
||||||
- soapysdr
|
- soapysdr
|
||||||
|
7
radioconda_console_shortcut/.gitattributes
vendored
Normal file
7
radioconda_console_shortcut/.gitattributes
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
* text=auto
|
||||||
|
|
||||||
|
*.patch binary
|
||||||
|
*.diff binary
|
||||||
|
meta.yaml text eol=lf
|
||||||
|
build.sh text eol=lf
|
||||||
|
bld.bat text eol=crlf
|
28
radioconda_console_shortcut/LICENSE.txt
Normal file
28
radioconda_console_shortcut/LICENSE.txt
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
BSD 3-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2012, Anaconda, Inc.
|
||||||
|
Copyright (c) 2015-2019, 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 the copyright holder 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.
|
7
radioconda_console_shortcut/bld.bat
Executable file
7
radioconda_console_shortcut/bld.bat
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
set MENU_DIR="%PREFIX%\Menu"
|
||||||
|
if not exist %MENU_DIR% mkdir %MENU_DIR%
|
||||||
|
|
||||||
|
:: icon is in public domain: https://github.com/paomedia/small-n-flat
|
||||||
|
|
||||||
|
copy "%RECIPE_DIR%\console_shortcut.ico" %MENU_DIR%
|
||||||
|
copy "%RECIPE_DIR%\console_shortcut.json" %MENU_DIR%
|
BIN
radioconda_console_shortcut/console_shortcut.ico
Normal file
BIN
radioconda_console_shortcut/console_shortcut.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
12
radioconda_console_shortcut/console_shortcut.json
Normal file
12
radioconda_console_shortcut/console_shortcut.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"menu_name": "radioconda",
|
||||||
|
"menu_items":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Conda Prompt",
|
||||||
|
"system": "%windir%\\system32\\cmd.exe",
|
||||||
|
"scriptarguments": ["/K", "${ROOT_PREFIX}\\Scripts\\activate.bat", "${PREFIX}"],
|
||||||
|
"icon": "${MENU_DIR}/console_shortcut.ico"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
25
radioconda_console_shortcut/meta.yaml
Normal file
25
radioconda_console_shortcut/meta.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{% set version = "1.0" %}
|
||||||
|
{% set build = 0 %}
|
||||||
|
|
||||||
|
package:
|
||||||
|
name: radioconda_console_shortcut
|
||||||
|
version: {{ version }}
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: {{ build }}
|
||||||
|
skip: True # [not win]
|
||||||
|
|
||||||
|
test:
|
||||||
|
commands:
|
||||||
|
- if not exist %PREFIX%\\Menu\\console_shortcut.json exit 1
|
||||||
|
- if not exist %PREFIX%\\Menu\\console_shortcut.ico exit
|
||||||
|
|
||||||
|
about:
|
||||||
|
home: https://github.com/ryanvolz/radioconda
|
||||||
|
summary: Command prompt shortcut for Windows with base environment activated
|
||||||
|
license: BSD-3-Clause
|
||||||
|
license_file: LICENSE.txt
|
||||||
|
|
||||||
|
extra:
|
||||||
|
recipe-maintainers:
|
||||||
|
- ryanvolz
|
@ -96,7 +96,7 @@ def render_constructor(
|
|||||||
company=company,
|
company=company,
|
||||||
channels=lock_spec.channels,
|
channels=lock_spec.channels,
|
||||||
specs=lock_spec.specs,
|
specs=lock_spec.specs,
|
||||||
initialize_by_default=True,
|
initialize_by_default=False if platform.startswith("win") else True,
|
||||||
installer_type="all",
|
installer_type="all",
|
||||||
keep_pkgs=True,
|
keep_pkgs=True,
|
||||||
license_file="LICENSE",
|
license_file="LICENSE",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user