-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding business duration receipe #20681
Changes from all commits
75a8e4c
df3684e
eb27f0f
8aa2564
80279af
9fbcffa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% set name = "business-duration" %} | ||
{% set version = "0.66" %} | ||
|
||
package: | ||
name: "{{ name|lower }}" | ||
version: "{{ version }}" | ||
|
||
source: | ||
url: "https://files.pythonhosted.org/packages/e5/1d/12b3bb612a19d20ca2d9fe7ebfc80ab6b9e1d5d575c6a3dcd121c7cbfed4/business_duration-0.66.tar.gz" | ||
sha256: "2fbecabe8059a259623c357b1c4f4274408498bfca52647e39ec10326182d74b" | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv " | ||
|
||
requirements: | ||
host: | ||
- pip | ||
- python >=3.6 | ||
run: | ||
- python >=3.6 | ||
|
||
test: | ||
imports: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a call to pip check here |
||
- business_duration | ||
|
||
about: | ||
home: "https://github.com/gnaneshwar441/Business_Duration" | ||
license: "MIT" | ||
license_family: "MIT" | ||
license_file: "PKG-INFO" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't sound like a typical license file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not, it's only the license metadata from packaging, no actual text with language of the license. |
||
summary: "Calculates business duration in days, hours, minutes and seconds by excluding weekends, public holidays and non-business hours" | ||
doc_url: "https://pypi.org/project/business-duration/" | ||
dev_url: "https://github.com/gnaneshwar441/Business_Duration" | ||
|
||
extra: | ||
recipe-maintainers: | ||
- frankzhu93 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL should be templated with the version number.