Skip to content

Commit

Permalink
Merge pull request #22395 from ocefpaf/add_xkcd-cli
Browse files Browse the repository at this point in the history
add xkcd-cli
  • Loading branch information
jakirkham committed Apr 10, 2023
2 parents 64cc283 + 6153464 commit 4b12d5f
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/xkcd-cli/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The MIT License (MIT)

Copyright © 2022 dotcs <https://dotcs.me>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Fork this project to create your own MIT license that you can always link to.
46 changes: 46 additions & 0 deletions recipes/xkcd-cli/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "xkcd-cli" %}
{% set version = "0.0.2" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/xkcd-cli-{{ version }}.tar.gz
sha256: ee48592bfaedb1f3284c30e9b413e101c12aaf027fcbb312897116996d528497

build:
entry_points:
- xkcd = src.cli:cli
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
- click
- requests
- pillow

test:
imports:
- src
commands:
- pip check
- xkcd --help
requires:
- pip

about:
license: MIT
license_file: LICENSE
home: https://github.com/dotcs/xkcd-cli
summary: A xkcd terminal viewer

extra:
recipe-maintainers:
- ocefpaf

0 comments on commit 4b12d5f

Please sign in to comment.