pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-canvasapi



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug 21 08:40:22 UTC 2024

Modified Files:
        pkgsrc/devel/py-canvasapi: Makefile PLIST distinfo

Log Message:
py-canvasapi: updated to 3.2.0

3.2.0 - 2023-05-25

New Endpoint Coverage

New Quizzes
Delete Page in Groups
General

Added support for pagination with metadata when headers are missing
Added support for Python 3.11
Bugfixes

Fixed an issue where Course.create_discussion_topic wouldn't accept attachment files.
3.1.0 - 2023-04-21

New Endpoint Coverage

Account Calendars
List available account calendars
Get a single account calendar
Update a calendar's visibility
Update many calendars' visibility
List all account calendars
Enrollments
Accept Course Invitation
Reject Course Invitation
File
Update File
JWTs
Create JWTs
Refresh JWTs
Moderation Grading (Moderation Set)
List students selected for moderation
Select students for moderation
Query Course Events
Query by course
Query by account
Rubrics
Create, Update, and Delete Rubric Assessments
Create a Rubric Association
Users
Terminate all user sessions
General

Updated Codecov action to v3
Bugfixes

Fixed an issue where kwargs were not passed along to Canvas in Course.get_module().
Fixed an issue where not all functions allowed arbitrary keyword arguments. Added a test to detect and prevent this for the future.
Fixed an issue with Course.get_enabled_features() where it would throw an error trying to paginate. It now returns a list of strings directly.
Added missing docs for AssignmentOverride.
Fixed a typo in Canvas.create_calendar_event() where an error message improperly listed the missing key as 'context_codes' instead of 'context_code'.

3.0.0 - 2022-09-21

New Endpoint Coverage

Delete a Rubric
Grade Change Log for Assignments, Courses, and Users
Content Migrations: List items for selective import
List observers of a User
ePortfolio endpoints
Delete an Admin from an Account
General

Added support for Python 3.10
Smart DateTimes now support any ISO 8601 format, including time offsets.
Bugfixes

Fixed an issue where kwargs were not passed along to Canvas in User.get_profile().
Breaking Changes

Dropped support for Python 3.6
Update QuizSubmission.get_submission_events to return a PaginatedList.
Update Course.get_course_level_student_summary_data to return a PaginatedList of CourseStudentSummary items instead of a dictionary.
Update Course.get_outcome_results to return a PaginatedList of OutcomeResult items instead of a dictionary.
Remove unnecessary id parameter from delete, reorder_question_group, and update methods in QuizGroup class.
Update Submission to return attachments as File objects instead of dictionaries.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-canvasapi/Makefile \
    pkgsrc/devel/py-canvasapi/PLIST pkgsrc/devel/py-canvasapi/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-canvasapi/Makefile
diff -u pkgsrc/devel/py-canvasapi/Makefile:1.1 pkgsrc/devel/py-canvasapi/Makefile:1.2
--- pkgsrc/devel/py-canvasapi/Makefile:1.1      Thu Sep  1 11:32:29 2022
+++ pkgsrc/devel/py-canvasapi/Makefile  Wed Aug 21 08:40:21 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/09/01 11:32:29 markd Exp $
+# $NetBSD: Makefile,v 1.2 2024/08/21 08:40:21 adam Exp $
 
-DISTNAME=      canvasapi-2.2.0
+DISTNAME=      canvasapi-3.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/canvasapi/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,12 +10,13 @@ HOMEPAGE=   https://github.com/ucfopen/can
 COMMENT=       API wrapper for the Canvas LMS
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-arrow-[0-9]*:../../time/py-arrow
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-canvasapi/PLIST
diff -u pkgsrc/devel/py-canvasapi/PLIST:1.1 pkgsrc/devel/py-canvasapi/PLIST:1.2
--- pkgsrc/devel/py-canvasapi/PLIST:1.1 Thu Sep  1 11:32:29 2022
+++ pkgsrc/devel/py-canvasapi/PLIST     Wed Aug 21 08:40:21 2024
@@ -1,16 +1,19 @@
-@comment $NetBSD: PLIST,v 1.1 2022/09/01 11:32:29 markd Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/08/21 08:40:21 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/canvasapi/__init__.py
 ${PYSITELIB}/canvasapi/__init__.pyc
 ${PYSITELIB}/canvasapi/__init__.pyo
 ${PYSITELIB}/canvasapi/account.py
 ${PYSITELIB}/canvasapi/account.pyc
 ${PYSITELIB}/canvasapi/account.pyo
+${PYSITELIB}/canvasapi/account_calendar.py
+${PYSITELIB}/canvasapi/account_calendar.pyc
+${PYSITELIB}/canvasapi/account_calendar.pyo
 ${PYSITELIB}/canvasapi/appointment_group.py
 ${PYSITELIB}/canvasapi/appointment_group.pyc
 ${PYSITELIB}/canvasapi/appointment_group.pyo
@@ -65,6 +68,9 @@ ${PYSITELIB}/canvasapi/course.pyo
 ${PYSITELIB}/canvasapi/course_epub_export.py
 ${PYSITELIB}/canvasapi/course_epub_export.pyc
 ${PYSITELIB}/canvasapi/course_epub_export.pyo
+${PYSITELIB}/canvasapi/course_event.py
+${PYSITELIB}/canvasapi/course_event.pyc
+${PYSITELIB}/canvasapi/course_event.pyo
 ${PYSITELIB}/canvasapi/current_user.py
 ${PYSITELIB}/canvasapi/current_user.pyc
 ${PYSITELIB}/canvasapi/current_user.pyo
@@ -80,6 +86,9 @@ ${PYSITELIB}/canvasapi/enrollment.pyo
 ${PYSITELIB}/canvasapi/enrollment_term.py
 ${PYSITELIB}/canvasapi/enrollment_term.pyc
 ${PYSITELIB}/canvasapi/enrollment_term.pyo
+${PYSITELIB}/canvasapi/eportfolio.py
+${PYSITELIB}/canvasapi/eportfolio.pyc
+${PYSITELIB}/canvasapi/eportfolio.pyo
 ${PYSITELIB}/canvasapi/exceptions.py
 ${PYSITELIB}/canvasapi/exceptions.pyc
 ${PYSITELIB}/canvasapi/exceptions.pyo
@@ -101,6 +110,9 @@ ${PYSITELIB}/canvasapi/file.pyo
 ${PYSITELIB}/canvasapi/folder.py
 ${PYSITELIB}/canvasapi/folder.pyc
 ${PYSITELIB}/canvasapi/folder.pyo
+${PYSITELIB}/canvasapi/grade_change_log.py
+${PYSITELIB}/canvasapi/grade_change_log.pyc
+${PYSITELIB}/canvasapi/grade_change_log.pyo
 ${PYSITELIB}/canvasapi/gradebook_history.py
 ${PYSITELIB}/canvasapi/gradebook_history.pyc
 ${PYSITELIB}/canvasapi/gradebook_history.pyo
@@ -113,6 +125,9 @@ ${PYSITELIB}/canvasapi/grading_standard.
 ${PYSITELIB}/canvasapi/group.py
 ${PYSITELIB}/canvasapi/group.pyc
 ${PYSITELIB}/canvasapi/group.pyo
+${PYSITELIB}/canvasapi/jwt.py
+${PYSITELIB}/canvasapi/jwt.pyc
+${PYSITELIB}/canvasapi/jwt.pyo
 ${PYSITELIB}/canvasapi/license.py
 ${PYSITELIB}/canvasapi/license.pyc
 ${PYSITELIB}/canvasapi/license.pyo
@@ -122,6 +137,9 @@ ${PYSITELIB}/canvasapi/login.pyo
 ${PYSITELIB}/canvasapi/module.py
 ${PYSITELIB}/canvasapi/module.pyc
 ${PYSITELIB}/canvasapi/module.pyo
+${PYSITELIB}/canvasapi/new_quiz.py
+${PYSITELIB}/canvasapi/new_quiz.pyc
+${PYSITELIB}/canvasapi/new_quiz.pyo
 ${PYSITELIB}/canvasapi/notification_preference.py
 ${PYSITELIB}/canvasapi/notification_preference.pyc
 ${PYSITELIB}/canvasapi/notification_preference.pyo
Index: pkgsrc/devel/py-canvasapi/distinfo
diff -u pkgsrc/devel/py-canvasapi/distinfo:1.1 pkgsrc/devel/py-canvasapi/distinfo:1.2
--- pkgsrc/devel/py-canvasapi/distinfo:1.1      Thu Sep  1 11:32:29 2022
+++ pkgsrc/devel/py-canvasapi/distinfo  Wed Aug 21 08:40:22 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/09/01 11:32:29 markd Exp $
+$NetBSD: distinfo,v 1.2 2024/08/21 08:40:22 adam Exp $
 
-BLAKE2s (canvasapi-2.2.0.tar.gz) = 571e0ea60f8cd48de448e1f2f0c91f004684d61782e0c8e2e670d1d1da475b72
-SHA512 (canvasapi-2.2.0.tar.gz) = d4e583dd2097a87bbeaca80493dab9fa102dfa4cd6775b7ed6df720f0398ffb4b59c42e93b3f6dd4340e9a1270f82a0f1b83009d41e60ab935509e4e1cf3a11c
-Size (canvasapi-2.2.0.tar.gz) = 80616 bytes
+BLAKE2s (canvasapi-3.2.0.tar.gz) = 12e28417bbe68db637284d1b090c08fa281baa1b849cc27c61936eb78a91ac2d
+SHA512 (canvasapi-3.2.0.tar.gz) = 8827b4a771c0886541f932458e89f52f98f3ec616b1c57d0ceb332a186f2a692be2fc12cd132d33cfd5a523127fe28b881a4d7fa868c76f528695c9739e585b9
+Size (canvasapi-3.2.0.tar.gz) = 87042 bytes



Home | Main Index | Thread Index | Old Index