Skip to content

Commit 55663b2

Browse files
committed
convert planet deps to pkg deps
1 parent 94c5aac commit 55663b2

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
lines changed

info.rkt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
#lang info
66

77
(define collection 'multi)
8-
(define deps '("base"))
8+
(define deps '("base"
9+
"sxml"
10+
"planet-neil-html-writing1"
11+
"compatibility-lib"
12+
"web-server-lib"))
913
(define build-deps '("racket-doc" "scribble-lib"))

webapi/atom.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
;; Copyright 2011-2012 Ryan Culpepper
1+
;; Copyright 2011-2013 Ryan Culpepper
22
;; Released under the terms of the LGPL version 3 or later.
33
;; See the file COPYRIGHT for details.
44

55
#lang racket/base
66
(require racket/class
7-
(planet clements/sxml2:1)
7+
sxml
88
"private/sxml.rkt")
99
(provide atom<%>
1010
atom)

webapi/blogger.rkt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;; Copyright 2011-2012 Ryan Culpepper
1+
;; Copyright 2011-2013 Ryan Culpepper
22
;; Released under the terms of the LGPL version 3 or later.
33
;; See the file COPYRIGHT for details.
44

@@ -12,8 +12,8 @@
1212
"private/net.rkt"
1313
"private/has-atom.rkt"
1414
"private/sxml.rkt"
15-
(planet clements/sxml2:1)
16-
(planet neil/html-writing:1))
15+
sxml
16+
neil/html-writing1/main)
1717
(provide blogger-scope
1818
blogger<%>
1919
blogger%

webapi/picasa.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;; Copyright 2011-2012 Ryan Culpepper
1+
;; Copyright 2011-2013 Ryan Culpepper
22
;; Released under the terms of the LGPL version 3 or later.
33
;; See the file COPYRIGHT for details.
44

@@ -12,7 +12,7 @@
1212
"private/net.rkt"
1313
"private/has-atom.rkt"
1414
"private/sxml.rkt"
15-
(planet clements/sxml2:1))
15+
sxml)
1616
(provide picasa-scope
1717
picasa<%>
1818
picasa-album<%>

webapi/private/oauth2.rkt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;; Copyright 2011-2012 Ryan Culpepper
1+
;; Copyright 2011-2013 Ryan Culpepper
22
;; Released under the terms of the LGPL version 3 or later.
33
;; See the file COPYRIGHT for details.
44

@@ -8,7 +8,7 @@
88
net/url
99
net/uri-codec
1010
"net.rkt"
11-
(planet neil/json-parsing:1))
11+
json)
1212
(provide oauth2-auth-server<%>
1313
oauth2-auth-server
1414

@@ -207,7 +207,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
207207
[json
208208
(get/url (url-add-query tokeninfo-url
209209
`((access_token . ,(get-access-token #:who who))))
210-
#:handle json->sjson
210+
#:handle read-json
211211
#:who who)])
212212
(unless (equal? (hash-ref json 'audience #f) (send client get-id))
213213
(error who "invalid token: not issued to client"))
@@ -235,7 +235,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
235235
#:headers (form-headers)
236236
#:data (body/acquire-token #:auth-code auth-code
237237
#:redirect-uri redirect-uri)
238-
#:handle json->sjson
238+
#:handle read-json
239239
;; FIXME: add #:fail arg that reads json error response
240240
#:who who))
241241

@@ -252,7 +252,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
252252
(post/url (send auth-server get-token-url)
253253
#:headers (form-headers)
254254
#:data (body/refresh-token)
255-
#:handle json->sjson
255+
#:handle read-json
256256
;; FIXME: add #:fail arg that reads json error response
257257
#:who who))
258258

webapi/private/sxml.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#lang racket/base
66
(require (only-in mzlib/etc begin-lifted)
7-
(planet clements/sxml2:1))
7+
sxml)
88
(provide read-sxml
99
namespace-names
1010
xpath-nss

0 commit comments

Comments
 (0)